home *** CD-ROM | disk | FTP | other *** search
-
-
-
- CUT(1L) CUT(1L)
-
-
- NNAAMMEE
- cut - remove sections from each line of files
-
- SSYYNNOOPPSSIISS
- ccuutt {-b byte-list, --bytes=byte-list} [-n] [--help]
- [--version] [file...]
-
- ccuutt {-c character-list, --characters=character-list}
- [--help] [--version] [file...]
-
- ccuutt {-f field-list, --fields=field-list} [-d delim] [-s]
- [--delimiter=delim] [--only-delimited] [--help] [--ver-
- sion] [file...]
-
- DDEESSCCRRIIPPTTIIOONN
- This manual page documents the GNU version of ccuutt. ccuutt
- prints sections of each line of each input file, or the
- standard input if no files are given. A file name of `-'
- means standard input. Which sections are printed is
- selected by the options.
-
- OOPPTTIIOONNSS
- The _b_y_t_e_-_l_i_s_t, _c_h_a_r_a_c_t_e_r_-_l_i_s_t, and _f_i_e_l_d_-_l_i_s_t are one or
- more numbers or ranges (two numbers separated by a dash)
- separated by commas. The first byte, character, and field
- are numbered 1. Incomplete ranges may be given: `-m'
- means `1-m'; `n-' means `n' through end of line or last
- field.
-
- _-_b_, _-_-_b_y_t_e_s _b_y_t_e_-_l_i_s_t
- Print only the bytes in positions listed in _b_y_t_e_-
- _l_i_s_t. Tabs and backspaces are treated like any
- other character; they take up 1 byte.
-
- _-_c_, _-_-_c_h_a_r_a_c_t_e_r_s _c_h_a_r_a_c_t_e_r_-_l_i_s_t
- Print only characters in positions listed in _c_h_a_r_-
- _a_c_t_e_r_-_l_i_s_t. The same as -b for now, but interna-
- tionalization will change that. Tabs and
- backspaces are treated like any other character;
- they take up 1 character.
-
- _-_f_, _-_-_f_i_e_l_d_s _f_i_e_l_d_-_l_i_s_t
- Print only the fields listed in _f_i_e_l_d_-_l_i_s_t. Fields
- are separated by a TAB by default.
-
- _-_d_, _-_-_d_e_l_i_m_i_t_e_r _d_e_l_i_m
- For -f, fields are separated by the first character
- in _d_e_l_i_m instead of by TAB.
-
- _-_n Do not split multibyte characters (no-op for now).
-
- _-_s_, _-_-_o_n_l_y_-_d_e_l_i_m_i_t_e_d
- For -f, do not print lines that do not contain the
- field separator character.
-
-
-
- FSF GNU Text Utilities 1
-
-
-
-
-
- CUT(1L) CUT(1L)
-
-
- _-_-_h_e_l_p Print a usage message and exit with a non-zero sta-
- tus.
-
- _-_-_v_e_r_s_i_o_n
- Print version information on standard error then
- exit.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- FSF GNU Text Utilities 2
-
-
-