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

  1.  
  2.  
  3.  
  4. UNEXPAND(1L)                                         UNEXPAND(1L)
  5.  
  6.  
  7. NNAAMMEE
  8.        unexpand - convert spaces to tabs
  9.  
  10. SSYYNNOOPPSSIISS
  11.        uunneexxppaanndd  [-tab1[,tab2[,...]]] [-t tab1[,tab2[,...]]] [-a]
  12.        [--tabs=tab1[,tab2[,...]]]  [--all]  [--help]  [--version]
  13.        [file...]
  14.  
  15. DDEESSCCRRIIPPTTIIOONN
  16.        This  manual  page  documents the GNU version of uunneexxppaanndd.
  17.        uunneexxppaanndd writes the contents of each given  file,  or  the
  18.        standard  input if none are given or when a file named `-'
  19.        is given, to the standard output, with strings of  two  or
  20.        more  space or tab characters converted to as many tabs as
  21.        possible followed by as many spaces  as  are  needed.   By
  22.        default,  uunneexxppaanndd  converts  only initial spaces and tabs
  23.        (those that precede all non space or  tab  characters)  on
  24.        each  line.  It preserves backspace characters in the out-
  25.        put; they decrement the column count for tab calculations.
  26.        By default, tabs are set at every 8th column.
  27.  
  28.    OOPPTTIIOONNSS
  29.        _-_, _-_t_, _-_-_t_a_b_s _t_a_b_1_[_,_t_a_b_2_[_,_._._._]_]
  30.               If  only  one  tab stop is given, set the tabs _t_a_b_1
  31.               spaces apart instead of the default 8.   Otherwise,
  32.               set  the tabs at columns _t_a_b_1, _t_a_b_2, etc. (numbered
  33.               from 0) and leave spaces and tabs beyond  the  tab-
  34.               stops  given unchanged.  If the tabstops are speci-
  35.               fied with the _-_t or _-_-_t_a_b_s option, they can be sep-
  36.               arated by blanks as well as by commas.  This option
  37.               implies the _-_a option.
  38.  
  39.        _-_a_, _-_-_a_l_l
  40.               Convert all strings of two or more spaces or  tabs,
  41.               not just initial ones, to tabs.
  42.  
  43.        _-_-_h_e_l_p Print a usage message and exit with a non-zero sta-
  44.               tus.
  45.  
  46.        _-_-_v_e_r_s_i_o_n
  47.               Print version information on  standard  error  then
  48.               exit.
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. FSF                     GNU Text Utilities                      1
  65.  
  66.  
  67.