Difference between revisions of "Cut"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
       cut -c list [file ...]
 
       cut -c list [file ...]
 
       cut -f list [-s] [-w | -d delim] [file ...]
 
       cut -f list [-s] [-w | -d delim] [file ...]
 +
 +
 +
[[Tabulator]] as separator:
 +
cut -f1 -d$'\t'
  
  
 
== See also ==
 
== See also ==
 
* {{awk}}
 
* {{awk}}
 +
 +
[[Category:Computing]]

Revision as of 10:25, 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: