mirror of
https://github.com/coreutils/coreutils.git
synced 2026-10-28 09:44:34 +08:00
doc: cut: show how to efficiently search ASCII blanks with -w
* doc/coreutils.texi (cut invocation): Mention LC_CTYPE=C restricts the -w field separator set, and is thus more efficient.
This commit is contained in:
1 parent
224673eba8
commit
3abac0e23a
1 file changed
+4
@@ -6258,6 +6258,10 @@ With @option{-f}, separate fields with a run of blank characters
|
||||
(usually space or TAB). With @samp{trimmed} do not consider
|
||||
leading and trailing blanks as field separators.
|
||||
@option{-w} is implied with the @option{-F} option.
|
||||
Note efficiency of this mode can be improved if the input
|
||||
fields are separated by runs of only ASCII blank characters (space or TAB).
|
||||
Even if fields contain arbitrary other characters, you can efficiently
|
||||
search for ASCII blanks by invoking @command{cut} like @samp{LC_ALL=C cut}.
|
||||
|
||||
@optZeroTerminated{cut}
|
||||
|
||||
|
||||
Reference in new issue
Block a user