summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-05-14 11:26:06 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2022-05-14 15:11:38 -0700
commit078987db6df0edd5af630abf5987e95b02f8a8a3 (patch)
tree9c2fe4eb318ab1905c92663266f80a9bfeac7036
parent5447010fdbdf3f1a874689dd41a7c916bb262b2a (diff)
downloadgrep-078987db6df0edd5af630abf5987e95b02f8a8a3.tar.gz
maint: spelling fixes
-rw-r--r--doc/grep.in.12
-rw-r--r--doc/grep.texi4
-rwxr-xr-xtests/many-regex-performance4
3 files changed, 5 insertions, 5 deletions
diff --git a/doc/grep.in.1 b/doc/grep.in.1
index 372b892c..aba085ad 100644
--- a/doc/grep.in.1
+++ b/doc/grep.in.1
@@ -755,7 +755,7 @@ understands three different versions of regular expression syntax:
In GNU
.B grep
there is no difference in available functionality between basic and
-extended syntaxes.
+extended syntax.
In other implementations, basic regular expressions are less powerful.
The following description applies to extended regular expressions;
differences for basic regular expressions are summarized afterwards.
diff --git a/doc/grep.texi b/doc/grep.texi
index f0ea1c37..b9688c82 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -1162,8 +1162,8 @@ by using various operators to combine smaller expressions.
three different versions of regular expression syntax:
basic (BRE), extended (ERE), and Perl-compatible (PCRE).
In GNU @command{grep},
-there is no difference in available functionality between the basic and
-extended syntaxes.
+there is no difference in available functionality between basic and
+extended syntax.
In other implementations, basic regular expressions are less powerful.
The following description applies to extended regular expressions;
differences for basic regular expressions are summarized afterwards.
diff --git a/tests/many-regex-performance b/tests/many-regex-performance
index 65d8b221..e16e0323 100755
--- a/tests/many-regex-performance
+++ b/tests/many-regex-performance
@@ -31,10 +31,10 @@ expensive_
# systems this first invocation takes at least 10ms of user time.
word_list=/usr/share/dict/linux.words
-# If $word_list does not exist, generate an input that exibhits
+# If $word_list does not exist, generate an input that exhibits
# similar performance characteristics.
if ! test -f $word_list; then
- # Generate data comprable to that word list.
+ # Generate data comparable to that word list.
# Note how all "words" start with "a", and that there is
# a small percentage of lines with at least one "." metachar.
# This requires /dev/urandom, so if it's not present, skip