cut
 

Usage

cut -c list [ file ... ]

cut -f list [ -d delim ] [ file ... ]
 

Purpose

 

Major options

-c list Cut based on characters. list is a comma-separated list of character numbers or ranges, such as 1,3,5-12,42.
-d delim Use delim as the delimiter with the -f option. The default delimiter is the tab character.
-f list Cut based on fields. list is a comma-separated list of field numbers or ranges.
 

Behavior

 

Caveats