Skip to content

Commit aa078af

Browse files
lydapixelb
authored andcommitted
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`
1 parent fedebc5 commit aa078af

File tree

20 files changed

+33
-33
lines changed

20 files changed

+33
-33
lines changed

ChangeLog-2005

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1206,7 +1206,7 @@
12061206
* tests/Coreutils.pm: New keywords, ENV and ENV_DEL, to support
12071207
tests/misc/date.
12081208

1209-
With todays additions, the generated shell script,
1209+
With today's additions, the generated shell script,
12101210
tests/date/date-tests had becoming far too large (over 350KB),
12111211
so use the superior-but-perl-requiring framework instead.
12121212
* tests/date/Test.pm: Move all tests from here...

ChangeLog-2007

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3262,7 +3262,7 @@
32623262

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

NEWS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ GNU coreutils NEWS -*- outline -*-
901901

902902
On Solaris 9, many commands would mistakenly treat file/ the same as
903903
file. Now, even on such a system, path resolution obeys the POSIX
904-
rules that a trailing slash ensures that the preceeding name is a
904+
rules that a trailing slash ensures that the preceding name is a
905905
directory or a symlink to a directory.
906906

907907
** Changes in behavior
@@ -1122,7 +1122,7 @@ GNU coreutils NEWS -*- outline -*-
11221122
** Changes in behavior
11231123

11241124
shred, sort, shuf: now use an internal pseudorandom generator by default.
1125-
This is mainly noticable in shred where the 3 random passes it does by
1125+
This is mainly noticeable in shred where the 3 random passes it does by
11261126
default should proceed at the speed of the disk. Previously /dev/urandom
11271127
was used if available, which is relatively slow on GNU/Linux systems.
11281128

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

cfg.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export VERBOSE = yes
4545
# 4914152 9e
4646
export XZ_OPT = -8e
4747

48-
old_NEWS_hash = 45d520a814b59efc0d2f4f56fd10c578
48+
old_NEWS_hash = d2ba572c2f1135b74e24ea3fb20e674e
4949

5050
# Add an exemption for sc_makefile_at_at_check.
5151
_makefile_at_at_check_exceptions = ' && !/^cu_install_program =/'

doc/coreutils.texi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14891,7 +14891,7 @@ parsed reliably. In the following example, @var{release} is
1489114891

1489214892
@smallexample
1489314893
uname -a
14894-
@result{} Linux dum 2.2.18 #4 SMP Tue Jun 5 11:24:08 PDT 2001 i686@c
14894+
@result{} Linux dumdum 2.2.18 #4 SMP Tue Jun 5 11:24:08 PDT 2001 i686@c
1489514895
unknown unknown GNU/Linux
1489614896
@end smallexample
1489714897

lib/ChangeLog-2007

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2729,7 +2729,7 @@
27292729
(local_zone): Accumulate dsts_seen rather than relying on tm_isdst
27302730
not being INT_MAX.
27312731
(get_date): Initialize dsts_seen, and check that it doesn't go over 1.
2732-
Use pc_rels_seen to decide whther a date is absolute.
2732+
Use pc_rels_seen to decide whether a date is absolute.
27332733

27342734
* getdate.y (number): Don't overwrite year.
27352735
(get_date): Initialize pc.year.digits to 0, not 4, to enable above

man/help2man

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ if ($opt_output)
254254
# <program> ({GNU,Free} <package>) <version>
255255
# <program> - {GNU,Free} <package> <version>
256256
#
257-
# and seperated from any copyright/author details by a blank line.
257+
# and separated from any copyright/author details by a blank line.
258258

259259
($_, $version_text) = split /\n+/, $version_text, 2;
260260

old/fileutils/ChangeLog-1997

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2542,7 +2542,7 @@ Thu Feb 15 23:08:41 1996 Jim Meyering ([email protected])
25422542
Mon Feb 12 23:23:25 1996 Jim Meyering ([email protected])
25432543

25442544
* configure.in (LIBOBJS): Split assignment into two statements to
2545-
accomodate automake-0.29 buglet.
2545+
accommodate automake-0.29 buglet.
25462546

25472547
Update for automake-0.29.
25482548
* Makefile.am (CONFIG_HEADER): Don't define. Automake now does it.

old/fileutils/NEWS

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

old/sh-utils/ChangeLog.0

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ Mon Aug 01 21:58:14 1994 Jim Meyering ([email protected])
269269
* date.1: Correct the documentation, too.
270270

271271
* date.c (main, show_date): For -u, use gmtime instead of relying on
272-
localtime's ability to interpret the TZ enviroment variable.
272+
localtime's ability to interpret the TZ environment variable.
273273
`date -u' failed (by reporting local time) on romp-ibm-bsd and PCs
274274
(DOS and OS/2) running emx 0.8h. From R. Bernstein
275275
@@ -1362,7 +1362,7 @@ Mon Jul 22 15:21:21 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu)
13621362

13631363
* stty.c: Use tcflag_t for termios bitmasks.
13641364
Use speed_t for speeds. Use unsigned long for baud rates to
1365-
accomodate large values, and support 57600 and 115200 if available.
1365+
accommodate large values, and support 57600 and 115200 if available.
13661366

13671367
* date.c, configure: Instead of SIZE_T_MISSING,
13681368
define size_t if it's missing.

old/textutils/ChangeLog

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4869,7 +4869,7 @@ Fri Dec 27 17:29:02 1996 Jim Meyering <[email protected]>
48694869
this time with duplicates removed.
48704870

48714871
* src/pr.c (usage): Break long string literal into two separate
4872-
printf statements to accomodate default maximum of 2048 characters
4872+
printf statements to accommodate default maximum of 2048 characters
48734873
for Irix-4.0.5. Reported by Kaveh Ghazi.
48744874

48754875
* Makefile.am (aclocal.m4): No longer depend on acinclude.m4.
@@ -5203,7 +5203,7 @@ Fri Oct 4 07:20:37 1996 Jim Meyering <[email protected]>
52035203
(PACKAGE_VERSION): Remove now-unused variable.
52045204

52055205
* lib/long-options.c (parse_long_options): Separate package name
5206-
and version number to accomodate new --version output requirement.
5206+
and version number to accommodate new --version output requirement.
52075207
* lib/long-options.h: Update prototype.
52085208

52095209
Thu Oct 3 23:27:31 1996 Jim Meyering <[email protected]>
@@ -5245,7 +5245,7 @@ Thu Sep 26 21:02:54 1996 Jim Meyering <[email protected]>
52455245
removed soon. Using this option can provoke a memory access
52465246
violation on some systems because of (unavoidable in an efficient
52475247
implementation) alignment assumptions made by functions in md5.c.
5248-
md5sum.c could leave the option in and accomodate the alignment
5248+
md5sum.c could leave the option in and accommodate the alignment
52495249
restriction, but this option was intended solely for testing, and
52505250
the tests are now all file-oriented, so it's not necessary.
52515251

@@ -8697,7 +8697,7 @@ Tue Feb 20 17:09:19 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
86978697
Sat Feb 10 02:16:40 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
86988698

86998699
* cmp.c (cmp): Rename `r' to `first_diff', and `x' to `smaller'.
8700-
Remove unneccessary variable `c1'. If -l was given, increase
8700+
Remove unnecessary variable `c1'. If -l was given, increase
87018701
`char_number' by the number of bytes read, after producing output,
87028702
rather than by the offset of the first differing bytes, before
87038703
producing output.

src/cat.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -751,8 +751,8 @@ main (int argc, char **argv)
751751
A line number requires seldom more than LINE_COUNTER_BUF_LEN
752752
positions.
753753
754-
Align the output buffer to a page size boundary, for efficency on
755-
some paging implementations, so add PAGE_SIZE - 1 bytes to the
754+
Align the output buffer to a page size boundary, for efficiency
755+
on some paging implementations, so add PAGE_SIZE - 1 bytes to the
756756
request to make room for the alignment. */
757757

758758
outbuf = xmalloc (outsize - 1 + insize * 4 + LINE_COUNTER_BUF_LEN

src/comm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ writeline (struct linebuffer const *line, FILE *stream, int class)
193193
194194
A message is printed at most once per input file.
195195
196-
This funtion was copied (nearly) verbatim from 'src/join.c'. */
196+
This function was copied (nearly) verbatim from 'src/join.c'. */
197197

198198
static void
199199
check_order (struct linebuffer const *prev,

src/expr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
Modified for arbitrary-precision calculation by James Youngman.
1919
2020
This program evaluates expressions. Each token (operator, operand,
21-
parenthesis) of the expression must be a seperate argument. The
21+
parenthesis) of the expression must be a separate argument. The
2222
parser used is a reasonably general one, though any incarnation of
2323
it is language-specific. It is especially nice for expressions.
2424

src/pr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1413,7 +1413,7 @@ init_funcs (void)
14131413
else
14141414
{
14151415
/* When numbering lines of parallel files, we enlarge the
1416-
first column to accomodate the number. Looks better than
1416+
first column to accommodate the number. Looks better than
14171417
the Sys V approach. */
14181418
if (parallel_files && numbered_lines)
14191419
h_next = h + chars_per_column + number_width;

src/tac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ tac_seekable (int input_fd, const char *file)
339339
The source and destination regions probably overlap. */
340340
memmove (G_buffer + read_size, G_buffer, saved_record_size);
341341
past_end = G_buffer + read_size + saved_record_size;
342-
/* For non-regexp searches, avoid unneccessary scanning. */
342+
/* For non-regexp searches, avoid unnecessary scanning. */
343343
if (sentinel_length)
344344
match_start = G_buffer + read_size;
345345
else

src/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ test_syntax_error (char const *format, char const *arg)
9494
}
9595

9696
/* Increment our position in the argument list. Check that we're not
97-
past the end of the argument list. This check is supressed if the
97+
past the end of the argument list. This check is suppressed if the
9898
argument is false. */
9999

100100
static void

tests/misc/comm

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,25 @@ my @Tests =
3434
# basic operation
3535
['basic', @inputs, {OUT=>"1\n\t2\n\t\t3\n"} ],
3636

37-
# supress lines unique to file 1
37+
# suppress lines unique to file 1
3838
['opt-1', '-1', @inputs, {OUT=>"2\n\t3\n"} ],
3939

40-
# supress lines unique to file 2
40+
# suppress lines unique to file 2
4141
['opt-2', '-2', @inputs, {OUT=>"1\n\t3\n"} ],
4242

43-
# supress lines that appear in both files
43+
# suppress lines that appear in both files
4444
['opt-3', '-3', @inputs, {OUT=>"1\n\t2\n"} ],
4545

46-
# supress lines unique to file 1 and lines unique to file 2
46+
# suppress lines unique to file 1 and lines unique to file 2
4747
['opt-12', '-1', '-2', @inputs, {OUT=>"3\n"} ],
4848

49-
# supress lines unique to file 1 and those that appear in both files
49+
# suppress lines unique to file 1 and those that appear in both files
5050
['opt-13', '-1', '-3', @inputs, {OUT=>"2\n"} ],
5151

52-
# supress lines unique to file 2 and those that appear in both files
52+
# suppress lines unique to file 2 and those that appear in both files
5353
['opt-23', '-2', '-3', @inputs, {OUT=>"1\n"} ],
5454

55-
# supress all output (really?)
55+
# suppress all output (really?)
5656
['opt-123', '-1', '-2', '-3', @inputs, {OUT=>""} ],
5757

5858
# invalid missing command line argument (1)

tests/misc/uniq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ my @Tests =
162162
['65', qw(-f 1 -w 3), {IN=>"a a a\nb a c\n"}, {OUT=>"a a a\n"}],
163163
# Make sure we don't break if the file contains \0
164164
['90', '', {IN=>"a\0a\na\n"}, {OUT=>"a\0a\na\n"}],
165-
# Check fields seperated by tabs and by spaces
165+
# Check fields separated by tabs and by spaces
166166
['91', '', {IN=>"a\ta\na a\n"}, {OUT=>"a\ta\na a\n"}],
167167
['92', qw(-f 1), {IN=>"a\ta\na a\n"}, {OUT=>"a\ta\na a\n"}],
168168
['93', qw(-f 2), {IN=>"a\ta a\na a a\n"}, {OUT=>"a\ta a\n"}],

tests/mv/dir2dir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ touch a/t/f || framework_failure_
2525

2626

2727
# Expect this to fail with the expected diagnostic.
28-
# For an interrim (pre-6.0) release, it would give an erroneous
28+
# For an interim (pre-6.0) release, it would give an erroneous
2929
# diagnostic about moving one directory to a subdirectory of itself.
3030
mv b/t a 2> out && fail=1
3131

0 commit comments

Comments
 (0)