home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / futils / futils~1 / man / manpages.zoo / fold.1 < prev    next >
Encoding:
Text File  |  1991-11-11  |  1.4 KB  |  67 lines

  1.  
  2.  
  3.  
  4. FOLD(1L)                                                 FOLD(1L)
  5.  
  6.  
  7.  
  8. NAME
  9.      fold - wrap each input line to fit in specified width
  10.  
  11. SYNOPSIS
  12.      fold [-bs] [-w width] [+bytes] [+spaces] [+width=width]
  13.      [file...]
  14.  
  15. DESCRIPTION
  16.      This manual page documents the GNU version of fold.  fold
  17.      prints the specified files, or the standard input when no
  18.      files are given or the filename `-' is encountered, on the
  19.      standard output.  It breaks long lines into multiple shorter
  20.      lines by inserting a newline at column 80.  It counts screen
  21.      columns, so tab characters usually take more than one
  22.      column, backspace characters decrease the column count, and
  23.      carriage return characters set the column count back to
  24.      zero.
  25.  
  26.      OPTIONS
  27.  
  28.      -_✓b, +_✓b_✓y_✓t_✓e_✓s
  29.           Count bytes rather than columns, so that tabs, back-
  30.           spaces, and carriage returns are each counted as taking
  31.           up one column, just like other characters.
  32.  
  33.      -_✓s, +_✓s_✓p_✓a_✓c_✓e_✓s
  34.           Break at word boundaries.  If the line contains any
  35.           blanks, the line is broken after the last blank that
  36.           falls within the maximum line length.  If there are no
  37.           blanks, the line is broken at the maximum line length,
  38.           as usual.
  39.  
  40.      -_✓w, +_✓w_✓i_✓d_✓t_✓h _✓w_✓i_✓d_✓t_✓h
  41.           Use a maximum line length of _✓w_✓i_✓d_✓t_✓h columns instead of
  42.           80.
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Page 1
  64.  
  65.  
  66.  
  67.