| Main index | Section 1 | 日本語 | Deutsch | Options |
The options are as follows:
| | |
| Count width in bytes rather than column positions. | |
| | |
| Fold line after the last blank character within the first width column positions (or bytes). | |
| | |
| Specify a line width to use instead of the default 80 columns. The width value should be a multiple of 8 if tabs are present, or the tabs should be expanded using expand(1) before using fold. | |
$ echo "I am smart enough to know that I am dumb" | fold -w 15 I am smart enou gh to know that I am dumb
Same as above but breaking lines after the last blank character:
$ echo "I am smart enough to know that I am dumb" | fold -s -w 15 I am smart enough to know that I am dumb
| FOLD (1) | October 29, 2020 |
| Main index | Section 1 | 日本語 | Deutsch | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Unix’s “power tools” are more like power switchblades that slice off the operator’s fingers quickly and efficiently. | ” |
| — The Unix Haters' handbook | ||