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;
)
/$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
(
}
# 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;
/* 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;
}
}
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. */
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
*%[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
# 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_
['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