home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / textutils-1.9-bin.lha / man / cat1 / cut.0 < prev    next >
Text File  |  1993-12-07  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4. CUT(1L)                                                   CUT(1L)
  5.  
  6.  
  7. NNAAMMEE
  8.        cut - remove sections from each line of files
  9.  
  10. SSYYNNOOPPSSIISS
  11.        ccuutt   {-b   byte-list,  --bytes=byte-list}  [-n]  [--help]
  12.        [--version] [file...]
  13.  
  14.        ccuutt   {-c   character-list,   --characters=character-list}
  15.        [--help] [--version] [file...]
  16.  
  17.        ccuutt  {-f  field-list, --fields=field-list} [-d delim] [-s]
  18.        [--delimiter=delim]  [--only-delimited]  [--help]  [--ver-
  19.        sion] [file...]
  20.  
  21. DDEESSCCRRIIPPTTIIOONN
  22.        This  manual  page  documents the GNU version of ccuutt.  ccuutt
  23.        prints sections of each line of each input  file,  or  the
  24.        standard  input if no files are given.  A file name of `-'
  25.        means standard  input.   Which  sections  are  printed  is
  26.        selected by the options.
  27.  
  28.    OOPPTTIIOONNSS
  29.        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
  30.        more numbers or ranges (two numbers separated by  a  dash)
  31.        separated by commas.  The first byte, character, and field
  32.        are numbered 1.  Incomplete  ranges  may  be  given:  `-m'
  33.        means  `1-m';  `n-'  means `n' through end of line or last
  34.        field.
  35.  
  36.        _-_b_, _-_-_b_y_t_e_s _b_y_t_e_-_l_i_s_t
  37.               Print only the bytes in positions listed  in  _b_y_t_e_-
  38.               _l_i_s_t.   Tabs  and  backspaces  are treated like any
  39.               other character; they take up 1 byte.
  40.  
  41.        _-_c_, _-_-_c_h_a_r_a_c_t_e_r_s _c_h_a_r_a_c_t_e_r_-_l_i_s_t
  42.               Print only characters in positions listed in  _c_h_a_r_-
  43.               _a_c_t_e_r_-_l_i_s_t.   The  same as -b for now, but interna-
  44.               tionalization   will   change   that.    Tabs   and
  45.               backspaces  are  treated  like any other character;
  46.               they take up 1 character.
  47.  
  48.        _-_f_, _-_-_f_i_e_l_d_s _f_i_e_l_d_-_l_i_s_t
  49.               Print only the fields listed in _f_i_e_l_d_-_l_i_s_t.  Fields
  50.               are separated by a TAB by default.
  51.  
  52.        _-_d_, _-_-_d_e_l_i_m_i_t_e_r _d_e_l_i_m
  53.               For -f, fields are separated by the first character
  54.               in _d_e_l_i_m instead of by TAB.
  55.  
  56.        _-_n     Do not split multibyte characters (no-op for  now).
  57.  
  58.        _-_s_, _-_-_o_n_l_y_-_d_e_l_i_m_i_t_e_d
  59.               For  -f, do not print lines that do not contain the
  60.               field separator character.
  61.  
  62.  
  63.  
  64. FSF                     GNU Text Utilities                      1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CUT(1L)                                                   CUT(1L)
  71.  
  72.  
  73.        _-_-_h_e_l_p Print a usage message and exit with a non-zero sta-
  74.               tus.
  75.  
  76.        _-_-_v_e_r_s_i_o_n
  77.               Print  version  information  on standard error then
  78.               exit.
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. FSF                     GNU Text Utilities                      2
  131.  
  132.  
  133.