[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils
Subject:    [PATCH] maint: fix typos in test comments and old ChangeLog files
From:       Jim Meyering <jim () meyering ! net>
Date:       2012-05-29 15:36:39
Message-ID: 87d35nvw1k.fsf () rho ! meyering ! net
[Download RAW message or body]

FYI,

>From 88e133c4c57efb82b6cc7b33f5c7d0be66146541 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
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 - |grep -v '^ERROR:' |perl -pe \
's/^(.*?)\[(\d+)\]: (\w+) -> "(.*?)"$/sed -i '\''${2}s!$3!$4!'\'' $1/'\
|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 cf37a62..0bad716 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 36f58ff..82d65b7 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 f9cdabf..994ee0b 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
--
1.7.10.2.605.gbefc5ed


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic