January 2003
Intermediate to advanced
832 pages
32h 40m
English
fold
fold [option] [files]
Breaks the lines of the named files so they are
no wider than the specified width (default is 80).
fold breaks lines exactly at the specified width,
even in the middle of a word. Reads from standard input when given
- as a file.
-b, --bytes
Count bytes, not columns (i.e., consider tabs, backspaces, and carriage returns to be one column).
-s, --spaces
Break at spaces only, if possible.
-w, --width
width
Set the maximum line width to width. Default is 80.