


CUT(1L)                                                   CUT(1L)


NNAAMMEE
       cut - remove sections from each line of files

SSYYNNOOPPSSIISS
       ccuutt {-b byte-list, --bytes=byte-list} [-n] [file...]

       ccuutt   {-c   character-list,   --characters=character-list}
       [file...]

       ccuutt {-f field-list, --fields=field-list} [-d  delim]  [-s]
       [--delimiter=delim] [--only-delimited] [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.

       The long-named options can be introduced with `+' as  well



                                                                1





CUT(1L)                                                   CUT(1L)


       as  `--', for compatibility with previous releases.  Even-
       tually support for `+' will  be  removed,  because  it  is
       incompatible with the POSIX.2 standard.






















































                                                                2


