maint: fix common spelling errors

These were identified using: https://github.com/lyda/misspell-check
executed like: git ls-files | misspellings -f -

* src/cat.c: Correct a spelling error.
* src/comm.c: Likewise.
* src/expr.c: Likewise.
* src/pr.c: Likewise.
* src/tac.c: Likewise.
* src/test.c: Likewise.
* src/ChangeLog-2005: Likewise.
* src/ChangeLog-2007: Likewise.
* src/NEWS: Likewise.
* src/doc/coreutils.texi: Likewise.
* src/lib/ChangeLog-2007: Likewise.
* src/man/help2man: Likewise.
* src/old/fileutils/ChangeLog-1997: Likewise.
* src/old/fileutils/NEWS: Likewise.
* src/old/sh-utils/ChangeLog.0: Likewise.
* src/old/textutils/ChangeLog: Likewise.
* src/tests/misc/comm: Likewise.
* src/tests/misc/uniq: Likewise.
* src/tests/mv/dir2dir: Likewise.
* src/cfg.mk (old_NEWS_hash): update with `make update-NEWS-hash`
This commit is contained in:
Kevin Lyda 2012-04-18 00:38:04 +01:00 committed by Pádraig Brady
parent fedebc59a0
commit aa078afcf9
20 changed files with 33 additions and 33 deletions

View File

@ -1206,7 +1206,7 @@
* tests/Coreutils.pm: New keywords, ENV and ENV_DEL, to support
tests/misc/date.
With todays additions, the generated shell script,
With today's additions, the generated shell script,
tests/date/date-tests had becoming far too large (over 350KB),
so use the superior-but-perl-requiring framework instead.
* tests/date/Test.pm: Move all tests from here...

View File

@ -3262,7 +3262,7 @@
rm without -f: give a better diagnostic when euidaccess fails.
* src/remove.c (write_protected_non_symlink): Return int, not bool,
so that we can indicate failure too (as a postive error number).
so that we can indicate failure too (as a positive error number).
(prompt): If write_protected_non_symlink fails, report that error
number and fail rather than charging ahead and removing the dubious
entry. Redo the logic of printing a diagnostic so that we need to

6
NEWS
View File

@ -901,7 +901,7 @@ GNU coreutils NEWS -*- outline -*-
On Solaris 9, many commands would mistakenly treat file/ the same as
file. Now, even on such a system, path resolution obeys the POSIX
rules that a trailing slash ensures that the preceeding name is a
rules that a trailing slash ensures that the preceding name is a
directory or a symlink to a directory.
** Changes in behavior
@ -1122,7 +1122,7 @@ GNU coreutils NEWS -*- outline -*-
** Changes in behavior
shred, sort, shuf: now use an internal pseudorandom generator by default.
This is mainly noticable in shred where the 3 random passes it does by
This is mainly noticeable in shred where the 3 random passes it does by
default should proceed at the speed of the disk. Previously /dev/urandom
was used if available, which is relatively slow on GNU/Linux systems.
@ -3368,7 +3368,7 @@ point at which the packages merged to form the coreutils:
* Any time style can be preceded by "posix-"; this causes "ls" to
use traditional timestamp format when in the POSIX locale.
* The default time style is now posix-long-iso instead of posix-iso.
Set TIME_STYLE="posix-iso" to revert to the behavior of 4.1.1 thru 4.1.9.
Set TIME_STYLE="posix-iso" to revert to the behavior of 4.1.1 through 4.1.9.
* 'rm dangling-symlink' doesn't prompt [introduced in 4.1.9]
* stat: remove support for --secure/-s option and related %S and %C format specs
* stat: rename --link/-l to --dereference/-L.

2
cfg.mk
View File

@ -45,7 +45,7 @@ export VERBOSE = yes
# 4914152 9e
export XZ_OPT = -8e
old_NEWS_hash = 45d520a814b59efc0d2f4f56fd10c578
old_NEWS_hash = d2ba572c2f1135b74e24ea3fb20e674e
# Add an exemption for sc_makefile_at_at_check.
_makefile_at_at_check_exceptions = ' && !/^cu_install_program =/'

View File

@ -14891,7 +14891,7 @@ parsed reliably. In the following example, @var{release} is
@smallexample
uname -a
@result{} Linux dum 2.2.18 #4 SMP Tue Jun 5 11:24:08 PDT 2001 i686@c
@result{} Linux dumdum 2.2.18 #4 SMP Tue Jun 5 11:24:08 PDT 2001 i686@c
unknown unknown GNU/Linux
@end smallexample

View File

@ -2729,7 +2729,7 @@
(local_zone): Accumulate dsts_seen rather than relying on tm_isdst
not being INT_MAX.
(get_date): Initialize dsts_seen, and check that it doesn't go over 1.
Use pc_rels_seen to decide whther a date is absolute.
Use pc_rels_seen to decide whether a date is absolute.
* getdate.y (number): Don't overwrite year.
(get_date): Initialize pc.year.digits to 0, not 4, to enable above

View File

@ -254,7 +254,7 @@ if ($opt_output)
# <program> ({GNU,Free} <package>) <version>
# <program> - {GNU,Free} <package> <version>
#
# and seperated from any copyright/author details by a blank line.
# and separated from any copyright/author details by a blank line.
($_, $version_text) = split /\n+/, $version_text, 2;

View File

@ -2542,7 +2542,7 @@ Thu Feb 15 23:08:41 1996 Jim Meyering (meyering@na-net.ornl.gov)
Mon Feb 12 23:23:25 1996 Jim Meyering (meyering@na-net.ornl.gov)
* configure.in (LIBOBJS): Split assignment into two statements to
accomodate automake-0.29 buglet.
accommodate automake-0.29 buglet.
Update for automake-0.29.
* Makefile.am (CONFIG_HEADER): Don't define. Automake now does it.

View File

@ -8,7 +8,7 @@
* Any time style can be preceded by "posix-"; this causes "ls" to
use traditional timestamp format when in the POSIX locale.
* The default time style is now posix-long-iso instead of posix-iso.
Set TIME_STYLE="posix-iso" to revert to the behavior of 4.1.1 thru 4.1.9.
Set TIME_STYLE="posix-iso" to revert to the behavior of 4.1.1 through 4.1.9.
* `rm dangling-symlink' doesn't prompt [introduced in 4.1.9]
* stat: remove support for --secure/-s option and related %S and %C format specs
* stat: rename --link/-l to --dereference/-L.

View File

@ -269,7 +269,7 @@ Mon Aug 01 21:58:14 1994 Jim Meyering (meyering@comco.com)
* date.1: Correct the documentation, too.
* date.c (main, show_date): For -u, use gmtime instead of relying on
localtime's ability to interpret the TZ enviroment variable.
localtime's ability to interpret the TZ environment variable.
`date -u' failed (by reporting local time) on romp-ibm-bsd and PCs
(DOS and OS/2) running emx 0.8h. From R. Bernstein
<rocky@watson.ibm.com>.
@ -1362,7 +1362,7 @@ Mon Jul 22 15:21:21 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu)
* stty.c: Use tcflag_t for termios bitmasks.
Use speed_t for speeds. Use unsigned long for baud rates to
accomodate large values, and support 57600 and 115200 if available.
accommodate large values, and support 57600 and 115200 if available.
* date.c, configure: Instead of SIZE_T_MISSING,
define size_t if it's missing.

View File

@ -4869,7 +4869,7 @@ Fri Dec 27 17:29:02 1996 Jim Meyering <meyering@na-net.ornl.gov>
this time with duplicates removed.
* src/pr.c (usage): Break long string literal into two separate
printf statements to accomodate default maximum of 2048 characters
printf statements to accommodate default maximum of 2048 characters
for Irix-4.0.5. Reported by Kaveh Ghazi.
* Makefile.am (aclocal.m4): No longer depend on acinclude.m4.
@ -5203,7 +5203,7 @@ Fri Oct 4 07:20:37 1996 Jim Meyering <meyering@na-net.ornl.gov>
(PACKAGE_VERSION): Remove now-unused variable.
* lib/long-options.c (parse_long_options): Separate package name
and version number to accomodate new --version output requirement.
and version number to accommodate new --version output requirement.
* lib/long-options.h: Update prototype.
Thu Oct 3 23:27:31 1996 Jim Meyering <meyering@na-net.ornl.gov>
@ -5245,7 +5245,7 @@ Thu Sep 26 21:02:54 1996 Jim Meyering <meyering@na-net.ornl.gov>
removed soon. Using this option can provoke a memory access
violation on some systems because of (unavoidable in an efficient
implementation) alignment assumptions made by functions in md5.c.
md5sum.c could leave the option in and accomodate the alignment
md5sum.c could leave the option in and accommodate the alignment
restriction, but this option was intended solely for testing, and
the tests are now all file-oriented, so it's not necessary.
@ -8697,7 +8697,7 @@ Tue Feb 20 17:09:19 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
Sat Feb 10 02:16:40 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
* cmp.c (cmp): Rename `r' to `first_diff', and `x' to `smaller'.
Remove unneccessary variable `c1'. If -l was given, increase
Remove unnecessary variable `c1'. If -l was given, increase
`char_number' by the number of bytes read, after producing output,
rather than by the offset of the first differing bytes, before
producing output.

View File

@ -751,8 +751,8 @@ main (int argc, char **argv)
A line number requires seldom more than LINE_COUNTER_BUF_LEN
positions.
Align the output buffer to a page size boundary, for efficency on
some paging implementations, so add PAGE_SIZE - 1 bytes to the
Align the output buffer to a page size boundary, for efficiency
on some paging implementations, so add PAGE_SIZE - 1 bytes to the
request to make room for the alignment. */
outbuf = xmalloc (outsize - 1 + insize * 4 + LINE_COUNTER_BUF_LEN

View File

@ -193,7 +193,7 @@ writeline (struct linebuffer const *line, FILE *stream, int class)
A message is printed at most once per input file.
This funtion was copied (nearly) verbatim from 'src/join.c'. */
This function was copied (nearly) verbatim from 'src/join.c'. */
static void
check_order (struct linebuffer const *prev,

View File

@ -18,7 +18,7 @@
Modified for arbitrary-precision calculation by James Youngman.
This program evaluates expressions. Each token (operator, operand,
parenthesis) of the expression must be a seperate argument. The
parenthesis) of the expression must be a separate argument. The
parser used is a reasonably general one, though any incarnation of
it is language-specific. It is especially nice for expressions.

View File

@ -1413,7 +1413,7 @@ init_funcs (void)
else
{
/* When numbering lines of parallel files, we enlarge the
first column to accomodate the number. Looks better than
first column to accommodate the number. Looks better than
the Sys V approach. */
if (parallel_files && numbered_lines)
h_next = h + chars_per_column + number_width;

View File

@ -339,7 +339,7 @@ tac_seekable (int input_fd, const char *file)
The source and destination regions probably overlap. */
memmove (G_buffer + read_size, G_buffer, saved_record_size);
past_end = G_buffer + read_size + saved_record_size;
/* For non-regexp searches, avoid unneccessary scanning. */
/* For non-regexp searches, avoid unnecessary scanning. */
if (sentinel_length)
match_start = G_buffer + read_size;
else

View File

@ -94,7 +94,7 @@ test_syntax_error (char const *format, char const *arg)
}
/* Increment our position in the argument list. Check that we're not
past the end of the argument list. This check is supressed if the
past the end of the argument list. This check is suppressed if the
argument is false. */
static void

View File

@ -34,25 +34,25 @@ my @Tests =
# basic operation
['basic', @inputs, {OUT=>"1\n\t2\n\t\t3\n"} ],
# supress lines unique to file 1
# suppress lines unique to file 1
['opt-1', '-1', @inputs, {OUT=>"2\n\t3\n"} ],
# supress lines unique to file 2
# suppress lines unique to file 2
['opt-2', '-2', @inputs, {OUT=>"1\n\t3\n"} ],
# supress lines that appear in both files
# suppress lines that appear in both files
['opt-3', '-3', @inputs, {OUT=>"1\n\t2\n"} ],
# supress lines unique to file 1 and lines unique to file 2
# suppress lines unique to file 1 and lines unique to file 2
['opt-12', '-1', '-2', @inputs, {OUT=>"3\n"} ],
# supress lines unique to file 1 and those that appear in both files
# suppress lines unique to file 1 and those that appear in both files
['opt-13', '-1', '-3', @inputs, {OUT=>"2\n"} ],
# supress lines unique to file 2 and those that appear in both files
# suppress lines unique to file 2 and those that appear in both files
['opt-23', '-2', '-3', @inputs, {OUT=>"1\n"} ],
# supress all output (really?)
# suppress all output (really?)
['opt-123', '-1', '-2', '-3', @inputs, {OUT=>""} ],
# invalid missing command line argument (1)

View File

@ -162,7 +162,7 @@ my @Tests =
['65', qw(-f 1 -w 3), {IN=>"a a a\nb a c\n"}, {OUT=>"a a a\n"}],
# Make sure we don't break if the file contains \0
['90', '', {IN=>"a\0a\na\n"}, {OUT=>"a\0a\na\n"}],
# Check fields seperated by tabs and by spaces
# Check fields separated by tabs and by spaces
['91', '', {IN=>"a\ta\na a\n"}, {OUT=>"a\ta\na a\n"}],
['92', qw(-f 1), {IN=>"a\ta\na a\n"}, {OUT=>"a\ta\na a\n"}],
['93', qw(-f 2), {IN=>"a\ta a\na a a\n"}, {OUT=>"a\ta a\n"}],

View File

@ -25,7 +25,7 @@ touch a/t/f || framework_failure_
# Expect this to fail with the expected diagnostic.
# For an interrim (pre-6.0) release, it would give an erroneous
# For an interim (pre-6.0) release, it would give an erroneous
# diagnostic about moving one directory to a subdirectory of itself.
mv b/t a 2> out && fail=1