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

  1.  
  2.  
  3.  
  4. FOLD(1L)                                                 FOLD(1L)
  5.  
  6.  
  7. NAME
  8.        fold - wrap each input line to fit in specified width
  9.  
  10. SYNOPSIS
  11.        fold [-bs] [-w width] [--bytes] [--spaces] [--width=width]
  12.        [--help] [--version] [file...]
  13.  
  14. DESCRIPTION
  15.        This manual page documents the GNU version of fold.   fold
  16.        prints  the specified files, or the standard input when no
  17.        files are given or the filename `-' is encountered, on the
  18.        standard  output.   It  breaks  long  lines  into multiple
  19.        shorter lines by inserting a newline  at  column  80.   It
  20.        counts screen columns, so tab characters usually take more
  21.        than one column, backspace characters decrease the  column
  22.        count, and carriage return characters set the column count
  23.        back to zero.
  24.  
  25.    OPTIONS
  26.        -b, --bytes
  27.               Count bytes rather  than  columns,  so  that  tabs,
  28.               backspaces,  and  carriage returns are each counted
  29.               as taking up one column, just  like  other  charac-
  30.               ters.
  31.  
  32.        -s, --spaces
  33.               Break at word boundaries.  If the line contains any
  34.               blanks, the line is broken  after  the  last  blank
  35.               that  falls  within  the  maximum  line length.  If
  36.               there are no blanks, the line is broken at the max-
  37.               imum line length, as usual.
  38.  
  39.        -w, --width width
  40.               Use  a maximum line length of width columns instead
  41.               of 80.
  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.