from small one page howto to huge articles all in one place
Last additions:
May 25th. 2007:
April, 26th. 2006:
|
You are here: manpages
FOLD
Section: User Commands (1) Updated: February 2026 Index
Return to Main Contents
NAME
fold - wrap each input line to fit in specified width
SYNOPSIS
fold
[ ,OPTION/]... [ ,FILE/]...
DESCRIPTION
Wrap input lines in each FILE, writing to standard output.
With no FILE, or when FILE is -, read standard input.
Mandatory arguments to long options are mandatory for short options too.
- X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#fol-b'-b, --bytesX'tty: link'
-
count bytes rather than columns
- X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#fol-c'-c, --charactersX'tty: link'
-
count characters rather than columns
- X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#fol-s'-s, --spacesX'tty: link'
-
break after blanks, or in words greater than WIDTH
- X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#fol-w'-w, --width=,WIDTHX'tty: link'/
-
use WIDTH columns instead of 80
- X'tty: link https://www.gnu.org/software/coreutils/fold#fol-help'--helpX'tty: link'
-
display this help and exit
- X'tty: link https://www.gnu.org/software/coreutils/fold#fol-version'--versionX'tty: link'
-
output version information and exit
AUTHOR
Written by David MacKenzie.
REPORTING BUGS
Report bugs to: bug-coreutils@gnu.org
Report Gentoo bugs to: https://bugs.gentoo.org/
GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
General help using GNU software: <https://www.gnu.org/gethelp/>
Report any translation bugs to <https://translationproject.org/team/>
SEE ALSO
fmt(1)
Full documentation <https://www.gnu.org/software/coreutils/fold>
or available locally via: info aq(coreutils) fold invocationaq
Packaged by Gentoo (9.10 (p0))
Copyright © 2026 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- AUTHOR
-
- REPORTING BUGS
-
- SEE ALSO
-
|