1FOLD(1) User Commands FOLD(1)
2
3
4
6 fold - wrap each input line to fit in specified width
7
9 fold [OPTION]... [FILE]...
10
12 Wrap input lines in each FILE, writing to standard output.
13
14 With no FILE, or when FILE is -, read standard input.
15
16 Mandatory arguments to long options are mandatory for short options
17 too.
18
19 -b, --bytes
20 count bytes rather than columns
21
22 -c, --characters
23 count characters rather than columns
24
25 -s, --spaces
26 break at spaces
27
28 -w, --width=WIDTH
29 use WIDTH columns instead of 80
30
31 --help display this help and exit
32
33 --version
34 output version information and exit
35
37 Written by David MacKenzie.
38
40 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
41 Report any translation bugs to <https://translationproject.org/team/>
42
44 Copyright © 2020 Free Software Foundation, Inc. License GPLv3+: GNU
45 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
46 This is free software: you are free to change and redistribute it.
47 There is NO WARRANTY, to the extent permitted by law.
48
50 Full documentation <https://www.gnu.org/software/coreutils/fold>
51 or available locally via: info '(coreutils) fold invocation'
52
53
54
55GNU coreutils 8.32 June 2021 FOLD(1)