home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / prgramer / unix / doc / unexpand.man < prev    next >
Text File  |  1993-06-13  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. UNEXPAND(1L)                                         UNEXPAND(1L)
  5.  
  6.  
  7. NAME
  8.        unexpand - convert spaces to tabs
  9.  
  10. SYNOPSIS
  11.        unexpand  [-tab1[,tab2[,...]]] [-t tab1[,tab2[,...]]] [-a]
  12.        [--tabs=tab1[,tab2[,...]]]  [--all]  [--help]  [--version]
  13.        [file...]
  14.  
  15. DESCRIPTION
  16.        This  manual  page  documents the GNU version of unexpand.
  17.        unexpand 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,  unexpand  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.    OPTIONS
  29.        -, -t, --tabs tab1[,tab2[,...]]
  30.               If  only  one  tab stop is given, set the tabs tab1
  31.               spaces apart instead of the default 8.   Otherwise,
  32.               set  the tabs at columns tab1, tab2, 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 --tabs option, they can be sep-
  36.               arated by blanks as well as by commas.  This option
  37.               implies the -a option.
  38.  
  39.        -a, --all
  40.               Convert all strings of two or more spaces or  tabs,
  41.               not just initial ones, to tabs.
  42.  
  43.        --help Print a usage message and exit with a non-zero sta-
  44.               tus.
  45.  
  46.        --version
  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.