


FOLD(1L)                                                 FOLD(1L)


NNAAMMEE
       fold - wrap each input line to fit in specified width

SSYYNNOOPPSSIISS
       ffoolldd [-bs] [-w width] [--bytes] [--spaces] [--width=width]
       [--help] [--version] [file...]

DDEESSCCRRIIPPTTIIOONN
       This manual page documents the GNU version of ffoolldd.   ffoolldd
       prints  the specified files, or the standard input when no
       files are given or the filename `-' is encountered, on the
       standard  output.   It  breaks  long  lines  into multiple
       shorter lines by inserting a newline  at  column  80.   It
       counts screen columns, so tab characters usually take more
       than one column, backspace characters decrease the  column
       count, and carriage return characters set the column count
       back to zero.

   OOPPTTIIOONNSS
       _-_b_, _-_-_b_y_t_e_s
              Count bytes rather  than  columns,  so  that  tabs,
              backspaces,  and  carriage returns are each counted
              as taking up one column, just  like  other  charac-
              ters.

       _-_s_, _-_-_s_p_a_c_e_s
              Break at word boundaries.  If the line contains any
              blanks, the line is broken  after  the  last  blank
              that  falls  within  the  maximum  line length.  If
              there are no blanks, the line is broken at the max-
              imum line length, as usual.

       _-_w_, _-_-_w_i_d_t_h _w_i_d_t_h
              Use  a maximum line length of _w_i_d_t_h columns instead
              of 80.

       _-_-_h_e_l_p Print a usage message and exit with a non-zero sta-
              tus.

       _-_-_v_e_r_s_i_o_n
              Print  version  information on standard output then
              exit.















FSF                     GNU Text Utilities                      1


