From: Paul Eggert Date: Fri, 16 Jan 2026 21:22:28 +0000 (-0800) Subject: maint: spelling fixes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23e696b0b2fa0be80ba4d544dc2efc6f7136856b;p=thirdparty%2Fcoreutils.git maint: spelling fixes --- diff --git a/man/help2man b/man/help2man index e021ff8dc5..26f22cc1be 100755 --- a/man/help2man +++ b/man/help2man @@ -406,7 +406,7 @@ if ($help_text =~ s/^($PAT_USAGE):( +(\S+))(.*)((?:\n(?: {6}\1| *($PAT_USAGE_CON my $sect = _('DESCRIPTION'); $_ = "$help_text\n\n$version_text"; -# Normalise paragraph breaks. +# Normalize paragraph breaks. s/^\n+//; s/\n*$/\n/; s/\n\n+/\n\n/g; @@ -607,7 +607,7 @@ while (length) ) /$1 . convert_option $2/xmge; - # Italicise filenames: /a/b, $VAR/c/d, ~/e/f + # Italicize filenames: /a/b, $VAR/c/d, ~/e/f s! (^|[ (]) # space/punctuation before ( @@ -797,7 +797,7 @@ sub get_option_value } # Convert option dashes to \- to stop nroff from hyphenating 'em, and -# embolden. Option arguments get italicised. +# embolden. Option arguments get italicized. sub convert_option { local $_ = '\fB' . shift; diff --git a/src/copy-file-data.c b/src/copy-file-data.c index 382a86ede3..5bc816f7ac 100644 --- a/src/copy-file-data.c +++ b/src/copy-file-data.c @@ -508,7 +508,7 @@ infer_scantype (int fd, struct stat const *sb, off_t pos, /* we prefer to return PLAIN_SCANTYPE here so that copy offload continues to be used. Falling through to ZERO_SCANTYPE would be - less performant in the compressed file case. */ + less efficient in the compressed file case. */ return PLAIN_SCANTYPE; } } diff --git a/src/timeout.c b/src/timeout.c index 24c5da7666..d5d2e8feb1 100644 --- a/src/timeout.c +++ b/src/timeout.c @@ -599,7 +599,7 @@ main (int argc, char **argv) else if (monitored_pid == 0) /* child */ { #if HAVE_PRCTL - /* Add protection if the parent dies without signalling child. */ + /* Add protection if the parent dies without signaling child. */ prctl (PR_SET_PDEATHSIG, term_signal); #endif /* If we're already reparented to init, don't proceed. */ diff --git a/tests/date/date-locale-hour.sh b/tests/date/date-locale-hour.sh index 7434e3dd9f..e2353ec330 100755 --- a/tests/date/date-locale-hour.sh +++ b/tests/date/date-locale-hour.sh @@ -27,7 +27,7 @@ for loc in "$LOCALE_FR_UTF8" 'en_US.UTF-8'; do case $(LC_ALL="$loc" locale date_fmt) in *%[Ilr]*) compare_time='1:00' ;; *%[HkRT]*) compare_time='13:00' ;; - *) skip_ 'unrecognised locale hour format';; + *) skip_ 'unrecognized locale hour format';; esac case $(LC_ALL="$loc" date -d '2025-10-11T13:00') in @@ -47,7 +47,7 @@ for loc in "$LOCALE_FR_UTF8" 'en_US.UTF-8'; do *%[IHRT]*) compare_time='01:00' ;; *%_[IH]*) compare_time=' 1:00' ;; *%[lk]*) compare_time=' 1:00' ;; - *) skip_ 'unrecognised locale hour format';; + *) skip_ 'unrecognized locale hour format';; esac case $(LC_ALL="$loc" date -d '2025-10-11T01:00') in diff --git a/tests/misc/io-errors.sh b/tests/misc/io-errors.sh index eee50de0e3..aa514f67c3 100755 --- a/tests/misc/io-errors.sh +++ b/tests/misc/io-errors.sh @@ -74,7 +74,7 @@ while read writer; do # Check /dev/full diagnosed. # Note we usually give a specific diagnostic (ENOSPC), - # but that's not guarantted in the generic close_stream() handling. + # but that's not guaranteed in the generic close_stream() handling. # For e.g. with _IOLBF etc, stdio will discard pending data at each line, # thus only giving a generic error upon ferror() in close_stream(). rm -f full.err || framework_failure_ diff --git a/tests/paste/paste.pl b/tests/paste/paste.pl index 7ed710c545..c890a2a566 100755 --- a/tests/paste/paste.pl +++ b/tests/paste/paste.pl @@ -66,7 +66,7 @@ my @Tests = ['delim-bs2', q!-d'\'!, {IN=>{'123\b\b\b.....@'=>''}}, {EXIT => 1}, {ERR => $msg . q!\\! . "\n"} ], - # \0 allows cycling thtough an empty delimiter (while "-d ''" does not) + # \0 allows cycling through an empty delimiter (while "-d ''" does not) ['delim-empty-1', q{-s -d '\0,'}, {IN=>"1\n2\n3\n"}, {OUT=>"12,3\n"}], # POSIX escapes