diff options
author | Jim Meyering <meyering@redhat.com> | 2012-06-04 12:30:52 +0200 |
---|---|---|
committer | James Youngman <jay@gnu.org> | 2012-06-05 10:00:50 +0100 |
commit | 003c8e6e3734c35c8a5d639528548181f0fada7f (patch) | |
tree | 83fb094f6b96e95b621627ac5e1630a705c15123 /locate/locate.c | |
parent | 56a172df501f1eb9d7f84b2c79a5979eb2099edc (diff) | |
download | findutils-003c8e6e3734c35c8a5d639528548181f0fada7f.tar.gz |
fix comment/changelog typos
First, change "cant" to "can't" manually in m4/nullsort.m4,
since "cant" had 3 replacement options. Then remove "dum"
from the LocalWords lists in doc/*.texi. It was not used.
Finally, perform the remaining changes mechanically using
http://github.com/lyda/misspell-check and
some perl to massage its diagnostics into sed -i commands:
git ls-files|grep -v '\.po$'|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
Diffstat (limited to 'locate/locate.c')
-rw-r--r-- | locate/locate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/locate/locate.c b/locate/locate.c index db90ce20..64ad4fa7 100644 --- a/locate/locate.c +++ b/locate/locate.c @@ -144,7 +144,7 @@ static const char warn_name_units[] = N_("days"); enum visit_result { VISIT_CONTINUE = 1, /* please call the next visitor */ - VISIT_ACCEPTED = 2, /* accepted, call no futher callbacks for this file */ + VISIT_ACCEPTED = 2, /* accepted, call no further callbacks for this file */ VISIT_REJECTED = 4, /* rejected, process next file. */ VISIT_ABORT = 8 /* rejected, process no more files. */ }; |