Commands
Commands
-b, --bytes=LIST
Select only these bytes
CUT
$cut -b N,M [FILE]
$cut --characters=N,M [FILE]
-c, --characters=LIST
Select only these characters
-d, --delimiter=DELIM
Use DELIM instead of TAB for field delimiter
-f, --fields=LIST
Select only these fields; also print any line
that contains no delimiter character, unless the
-s option is specified
--complement
complement the set of selected bytes, characters
or fields
CUT
$cut -d ‘ ’ -c N,M --output-delimiter=‘-’