maint: fix typos in test comments and old ChangeLog files
authorJim Meyering <meyering@redhat.com>
Tue, 29 May 2012 15:36:10 +0000 (17:36 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 31 May 2012 07:37:46 +0000 (09:37 +0200)
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.

old/fileutils/ChangeLog
old/textutils/ChangeLog
tests/misc/truncate-fail-diag

index cf37a62..0bad716 100644 (file)
 
 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
index 36f58ff..82d65b7 100644 (file)
@@ -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)
index f9cdabf..994ee0b 100755 (executable)
@@ -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