]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: spelling fixes
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 16 Jan 2026 21:22:28 +0000 (13:22 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 16 Jan 2026 21:22:28 +0000 (13:22 -0800)
man/help2man
src/copy-file-data.c
src/timeout.c
tests/date/date-locale-hour.sh
tests/misc/io-errors.sh
tests/paste/paste.pl

index e021ff8dc50007a0165d42905b1961a05f247b7f..26f22cc1be9ab3918b10026e913d83280d66bfcb 100755 (executable)
@@ -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;
index 382a86ede3e9ffd4cc58633cf431d75786d04fb9..5bc816f7acb96e0dc63e09625df9306e248719a2 100644 (file)
@@ -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;
         }
     }
index 24c5da766693bf38ab861a2d0e27be750b5ec5f8..d5d2e8feb166bba8adbc07a8019bd9f9c8a23561 100644 (file)
@@ -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.  */
index 7434e3dd9f94ea4f952433c1689e64af9267c50d..e2353ec330db9ecec5c729a9c2ebf6047b71f266 100755 (executable)
@@ -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
index eee50de0e3f6b13ee723a2af77b309c40c9cd154..aa514f67c365415cb8fef33e18cd19b97e3c1ce9 100755 (executable)
@@ -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_
index 7ed710c545093bc818a57d430fe127b47cca68ae..c890a2a566ce0fccd80bf552d62b527f785b6ccc 100755 (executable)
@@ -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