Writes each file (or standard input if no files are given)
to standard output whilst breaking long lines
Usage: fold [OPTION]... [FILE]...
Options:
-b, --bytes count using bytes rather than columns (meaning control characters such as
newline are not treated specially)
-c, --characters count using character positions rather than display columns
-s, --spaces break lines at word boundaries rather than a hard cut-off
-w, --width <WIDTH> set WIDTH as the maximum line width rather than 80
-h, --help Print help
-V, --version Print version
Options (6)
| Option | Description | Source |
|---|
-b, --bytes | count using bytes rather than columns (meaning control characters such as newline are not treated specially) | help + man |
-c, --characters | count using character positions rather than display columns | help + man |
-s, --spaces | break lines at word boundaries rather than a hard cut-off | help + man |
-w, --width WIDTH | set WIDTH as the maximum line width rather than 80 | help + man |
-h, --help | Print help | help + man |
-V, --version | Print version | help + man |
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.