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

  1.  
  2.  
  3.  
  4. EXPAND(1L)                                             EXPAND(1L)
  5.  
  6.  
  7. NAME
  8.        expand - convert tabs to spaces
  9.  
  10. SYNOPSIS
  11.        expand  [-tab1[,tab2[,...]]]  [-t  tab1[,tab2[,...]]] [-i]
  12.        [--tabs=tab1[,tab2[,...]]]  [--initial]  [--help]  [--ver-
  13.        sion] [file...]
  14.  
  15. DESCRIPTION
  16.        This  manual  page  documents  the  GNU version of expand.
  17.        expand 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 tab characters con-
  20.        verted  to  the appropriate number of spaces.  By default,
  21.        expand  converts  all  tabs  to  spaces.    It   preserves
  22.        backspace  characters  in  the  output; they decrement the
  23.        column count for tab calculations.  The default action  is
  24.        equivalent to -8 (set tabs every 8 columns).
  25.  
  26.    OPTIONS
  27.        -, -t, --tabs tab1[,tab2[,...]]
  28.               If  only  one  tab stop is given, set the tabs tab1
  29.               spaces apart instead of the default 8.   Otherwise,
  30.               set  the tabs at columns tab1, tab2, etc. (numbered
  31.               from 0) and replace any tabs  beyond  the  tabstops
  32.               given  with  single  spaces.   If  the tabstops are
  33.               specified with the -t or --tabs option, they can be
  34.               separated by blanks as well as by commas.
  35.  
  36.        -i, --initial
  37.               Only  convert  initial tabs (those that precede all
  38.               non space  or  tab  characters)  on  each  line  to
  39.               spaces.
  40.  
  41.        --help Print a usage message and exit with a non-zero sta-
  42.               tus.
  43.  
  44.        --version
  45.               Print version information on  standard  error  then
  46.               exit.
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. FSF                     GNU Text Utilities                      1
  65.  
  66.  
  67.