


CUT(1L)                                                   CUT(1L)


NNAAMMEE
       cut - remove sections from each line of files

SSYYNNOOPPSSIISS
       ccuutt   {-b   byte-list,  --bytes=byte-list}  [-n]  [--help]
       [--version] [file...]

       ccuutt   {-c   character-list,   --characters=character-list}
       [--help] [--version] [file...]

       ccuutt  {-f  field-list, --fields=field-list} [-d delim] [-s]
       [--delimiter=delim]  [--only-delimited]  [--help]  [--ver-
       sion] [file...]

DDEESSCCRRIIPPTTIIOONN
       This  manual  page  documents the GNU version of ccuutt.  ccuutt
       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.

   OOPPTTIIOONNSS
       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 output then
              exit.



















































FSF                     GNU Text Utilities                      2


