fold(1)fold(1)Namefold - fold long lines for finite width output device
Syntaxfold [-b] [-s] [-w width or -width] [file...]
Description
The command is a filter which folds the contents of each specified
file, or the standard input if no file is specified, breaking the lines
to have maximum width width.
Options-b Causes each `<backspace>' in a line to be interpreted as decre‐
menting the line length by one.
-s Breaks the line on the last <blank> character found before the
specified length. If none are found the line breaks at the speci‐
fied length.
-w width or -width
Specify the maximum line width, in bytes. The default value is 80.
The width should be a multiple of 8 if tabs are present, or the
tabs should be expanded using before coming to
Restrictions
The command may interfere with underlining.
Return Values
The command returns zero (0) on successful completion.
See Alsoexpand(1)fold(1)