| 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.
| “ | Like a classics radio station whose play list spans decades, Unix simultaneously exhibits its mixed and dated heritage. There's Clash-era graphics interfaces; Beatles-era two-letter command names; and systems programs (for example, ps) whose terse and obscure output was designed for slow teletypes; Bing Crosby-era command editing (# and @ are still the default line editing commands), and Scott Joplin-era core dumps. | ” |
| — The Unix Haters' handbook | ||