mirror of
https://https.git.savannah.gnu.org/git/coreutils.git
synced 2026-01-26 07:27:53 +00:00
maint: spelling fixes
This commit is contained in:
parent
676c3bb397
commit
23e696b0b2
@ -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;
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@ -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. */
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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_
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user