By: Strauss K Viewed: 192 times Printer Friendly Format
Divide a file into several parts.
Syntax cut -b list [-n] [file ...] cut -c list [file ...] cut -f list [-d delim] [-s] [file ...] Options -b list The list specifies byte positions. -c list The list specifies character positions. -d delim Use the first character of the string delim as the field delimiter character instead of the tab character. -f list The list specifies fields, delimited in the input by a single tab character. Output fields are separated by a single tab character. -n Do not split multi-byte characters. -s Suppresses lines with no field delimiter characters. Unless specified, lines with no delimiters are passed through unmodified.
cut exits 0 on success, 1 if an error occurred.
Most Viewed Articles (in macos )
Latest Articles (in macos)
Comment on this tutorial
- Cloud Computing
- Java Beans
- Mac OS X
- Office 365
- Tech Reviews