]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: cut: clarify that -s suppressed lines with only trimmed spaces
authorPádraig Brady <P@draigBrady.com>
Fri, 27 Mar 2026 18:29:16 +0000 (18:29 +0000)
committerPádraig Brady <P@draigBrady.com>
Sun, 5 Apr 2026 12:15:56 +0000 (13:15 +0100)
* doc/coreutils.texi (cut invocation): State explicitly that
-s --whitespace-delimited=trimmed will suppress lines that
do not have field separating blanks.

doc/coreutils.texi

index 025cfa823fc970ac5b5b2491392b3bc874022da0..cf2f5015bad04bf71d7b1bc721468a83d6d42b2d 100644 (file)
@@ -6232,8 +6232,10 @@ ranges of selected bytes.
 
 @optItem{cut,-s,}
 @optItemx{cut,--only-delimited,}
-For @option{-f}, do not print lines that do not contain the field separator
-character.  Normally, any line without a field separator is printed verbatim.
+For @option{-f}, do not print lines that do not contain field separators.
+Normally, any line without a field separator is printed verbatim.
+With @option{--whitespace-delimited=trimmed}, lines that contain
+only leading or trailing blanks will be suppressed.
 
 @optItem{cut,-w,}
 @optItemx{cut,--whitespace-delimited,[=trimmed]}