From 58184f6861894d91dca98cf2572d97fe70316b9b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 29 May 2012 17:36:10 +0200 Subject: [PATCH] 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. --- old/fileutils/ChangeLog | 2 +- old/textutils/ChangeLog | 4 ++-- tests/misc/truncate-fail-diag | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog index cf37a62801..0bad716145 100644 --- a/old/fileutils/ChangeLog +++ b/old/fileutils/ChangeLog @@ -4420,7 +4420,7 @@ 2000-02-26 Jim Meyering - 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 36f58ffc84..82d65b70ff 100644 --- a/old/textutils/ChangeLog +++ b/old/textutils/ChangeLog @@ -5496,7 +5496,7 @@ Thu Jul 4 07:24:54 1996 Jim Meyering Wed Jul 3 23:21:09 1996 Jim Meyering - * 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 @@ -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 f9cdabf389..994ee0b8b8 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 -- 2.47.2