Difference between revisions of "Cut"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  
cut --help
+
cut --help
cut: illegal option -- -
+
cut: illegal option -- -
usage: cut -b list [-n] [file ...]
+
usage: cut -b list [-n] [file ...]
      cut -c list [file ...]
+
        cut -c list [file ...]
      cut -f list [-s] [-w | -d delim] [file ...]
+
        cut -f list [-s] [-w | -d delim] [file ...]
  
  

Revision as of 10:26, 22 April 2022

cut --help
cut: illegal option -- -
usage: cut -b list [-n] [file ...]
       cut -c list [file ...]
       cut -f list [-s] [-w | -d delim] [file ...]


Tabulator as separator:

cut -f1 -d$'\t'


See also

Advertising: