diff options
author | Pádraig Brady <P@draigBrady.com> | 2016-11-06 21:34:12 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2016-11-07 17:12:39 +0000 |
commit | 23066be1b655fd81542761161c4f7ef37dc0813b (patch) | |
tree | d5593bc2635971f671202cb3881d087818f02990 | |
parent | 7ce2589b77d6f78548d6d025ab7d8f5a57199ef8 (diff) | |
download | coreutils-23066be1b655fd81542761161c4f7ef37dc0813b.tar.xz |
maint: misc tweaks to recent changes
* doc/coreutils.texi(cut invocation): Give a more accurate description
of cut field handling limitations.
* tests/misc/stat-fmt.sh: Fix the test header to be more general.
* tests/tail-2/retry.sh: Spellings.
-rw-r--r-- | doc/coreutils.texi | 2 | ||||
-rwxr-xr-x | tests/misc/stat-fmt.sh | 3 | ||||
-rwxr-xr-x | tests/tail-2/retry.sh | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 597cf76f0..81101485c 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -5864,7 +5864,7 @@ line that contains no delimiter character, unless the @option{--only-delimited} (@option{-s}) option is specified. Note @command{awk} supports more sophisticated field processing, -like reordering fields, and handling non fixed width fields. +like reordering fields, and handling fields aligned with blank characters. By default @command{awk} uses (and discards) runs of blank characters to separate fields, and ignores leading and trailing blanks. @example diff --git a/tests/misc/stat-fmt.sh b/tests/misc/stat-fmt.sh index 1245ddb9e..45a276d13 100755 --- a/tests/misc/stat-fmt.sh +++ b/tests/misc/stat-fmt.sh @@ -1,5 +1,5 @@ #!/bin/sh -# ensure that stat properly handles a format string ending with % +# stat --format tests # Copyright (C) 2003-2016 Free Software Foundation, Inc. @@ -27,6 +27,7 @@ for i in $(seq 50); do test "$out" = "$fmt" || fail=1 done + # ensure QUOTING_STYLE is honored by %N touch "'" || framework_failure_ # Default since v8.25 diff --git a/tests/tail-2/retry.sh b/tests/tail-2/retry.sh index a4cff11e6..b764aa7f1 100755 --- a/tests/tail-2/retry.sh +++ b/tests/tail-2/retry.sh @@ -134,7 +134,7 @@ grep -F 'cannot open' out || { fail=1; cat out; } grep -F 'no files remaining' out || { fail=1; cat out; } # === Test: -# Ensure that tail -F retries when the file is initally untailable. +# Ensure that tail -F retries when the file is initially untailable. mkdir untailable timeout 10 \ tail $mode $fastpoll -F untailable >out 2>&1 & pid=$! |