Cut command

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 17:26, 28 November 2005 (edit)
88.1.31.165 (Talk)

← Previous diff
Revision as of 19:17, 15 May 2006 (edit) (undo)
Gerrys (Talk | contribs)

Next diff →
Line 15: Line 15:
With no FILE, or when FILE is -, read standard input. With no FILE, or when FILE is -, read standard input.
 +
 +
 +[[Category:English documentation]]
 +
 +[[Category:commandline command reference]]

Revision as of 19:17, 15 May 2006

Print selected parts of lines from each FILE to standard output.

Usage: cut [OPTION]... [FILE]...

Prints selected fields from each input FILE to standard output.

Options:

       -b LIST         Output only bytes from LIST
       -c LIST         Output only characters from LIST
       -d CHAR         Use CHAR instead of tab as the field delimiter
       -s              Output only the lines containing delimiter
       -f N            Print only these fields
       -n              Ignored


With no FILE, or when FILE is -, read standard input.