diff options
author | Jim Meyering <meyering@redhat.com> | 2012-05-29 17:36:10 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-05-31 09:37:46 +0200 |
commit | 58184f6861894d91dca98cf2572d97fe70316b9b (patch) | |
tree | 30f0ca0ca07ded474c7442018d3d3df35b91fbe7 | |
parent | 2ab72e3a4364a9dea2a086aa6adfdd02fca53b3d (diff) | |
download | coreutils-58184f6861894d91dca98cf2572d97fe70316b9b.tar.xz |
maint: fix typos in test comments and old ChangeLog files
Culprits identified and fixed automatically using these commands:
git ls-files|misspellings -f -|perl -nl \
-e '/^(.*?)\[(\d+)\]: (\w+) -> "(.*?)"$/ or next;' \
-e '($file,$n,$l,$r)=($1,$2,$3,$4); $q="'\''"; $r=~s/$q/$q\\$q$q/g;'\
-e 'print "sed -i $q${n}s!$l!$r!$q $file"' | bash
using http://github.com/lyda/misspell-check
* old/fileutils/ChangeLog: Fix typos.
* old/textutils/ChangeLog: Likewise.
* tests/misc/truncate-fail-diag: Likewise.
-rw-r--r-- | old/fileutils/ChangeLog | 2 | ||||
-rw-r--r-- | old/textutils/ChangeLog | 4 | ||||
-rwxr-xr-x | tests/misc/truncate-fail-diag | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog index cf37a6280..0bad71614 100644 --- a/old/fileutils/ChangeLog +++ b/old/fileutils/ChangeLog @@ -4420,7 +4420,7 @@ 2000-02-26 Jim Meyering <meyering@lucent.com> - Tranform the generated src/Makefile.in file so it falls back on + Transform the generated src/Makefile.in file so it falls back on using /bin/rm when necessary. The old rule didn't always work. This is necessary only on certain losing systems, and because this package builds an `rm' executable and some people put `.' too diff --git a/old/textutils/ChangeLog b/old/textutils/ChangeLog index 36f58ffc8..82d65b70f 100644 --- a/old/textutils/ChangeLog +++ b/old/textutils/ChangeLog @@ -5496,7 +5496,7 @@ Thu Jul 4 07:24:54 1996 Jim Meyering <meyering@na-net.ornl.gov> Wed Jul 3 23:21:09 1996 Jim Meyering <meyering@na-net.ornl.gov> - * src/md5sum.c (split_3): Correct test for 35-byte line to accomodate + * src/md5sum.c (split_3): Correct test for 35-byte line to accommodate fact that leading blanks may be stripped. Tue Jul 2 21:51:40 1996 Jim Meyering <meyering@na-net.ornl.gov> @@ -8550,7 +8550,7 @@ Tue Jul 17 12:36:11 EDT 1990 Jay Fenlason (hack@ai.mit.edu) * pr.c Deleted excess whitespace from ends of lines. Modified to work with current version of getopt, which returns 1 instead of 0 for non-options. - Reversed the meaning of the -f option, to be compatable + Reversed the meaning of the -f option, to be compatible with real pr. Sun Jul 8 00:39:31 1990 David J. MacKenzie (djm at apple-gunkies) diff --git a/tests/misc/truncate-fail-diag b/tests/misc/truncate-fail-diag index f9cdabf38..994ee0b8b 100755 --- a/tests/misc/truncate-fail-diag +++ b/tests/misc/truncate-fail-diag @@ -1,6 +1,6 @@ #!/bin/sh # make sure truncate gives reasonable diagnostics -# Note open() checks for trailing '/' before checking for existance +# Note open() checks for trailing '/' before checking for existence # open (".", O_CREAT & (O_WRONLY | O_RDWR), ...) -> EISDIR # open ("missing/", O_CREAT & (O_WRONLY | O_RDWR), ...) -> EISDIR # open ("missing/file", O_CREAT & (O_WRONLY | O_RDWR), ...) -> ENOENT |