home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / GNUTUE.ZIP / man / fold.man < prev    next >
Text File  |  1992-07-18  |  2KB  |  35 lines

  1. NAME
  2.      fold - wrap each input line to fit in specified width
  3.  
  4. SYNOPSIS
  5.      fold [-bs] [-w width] [--bytes] [--spaces] [--width=width] [file...]
  6.  
  7. DESCRIPTION
  8.      This manual page documents the GNU version  of  fold.   fold  prints  the
  9.      specified  files,  or  the  standard input when no files are given or the
  10.      filename `-' is encountered, on the  standard  output.   It  breaks  long
  11.      lines  into  multiple  shorter lines by inserting a newline at column 80.
  12.      It counts screen columns, so tab characters usually take  more  than  one
  13.      column,  backspace  characters  decrease  the  column count, and carriage
  14.      return characters set the column count back to zero.
  15.  
  16.      OPTIONS
  17.  
  18.      -b, --bytes
  19.           Count bytes rather than  columns,  so  that  tabs,  backspaces,  and
  20.           carriage returns are each counted as taking up one column, just like
  21.           other characters.
  22.  
  23.      -s, --spaces
  24.           Break at word boundaries.  If the line contains any blanks, the line
  25.           is  broken  after  the last blank that falls within the maximum line
  26.           length.  If there are no blanks, the line is broken at  the  maximum
  27.           line length, as usual.
  28.  
  29.      -w, --width width
  30.           Use a maximum line length of width columns instead of 80.
  31.  
  32.      The long-named options can be introduced with `+' as well  as  `--',  for
  33.      compatibility with previous releases.  Eventually support for `+' will be
  34.      removed, because it is incompatible with the POSIX.2 standard.
  35.