|FOLD(1)||General Commands Manual||FOLD(1)|
foldis a filter which folds the contents of the specified files, or the standard input if no files are specified, breaking the lines to have a maximum of 80 characters.
The options are as follows:
foldutility exits 0 on success, and >0 if an error occurs.
foldutility is compliant with the IEEE Std 1003.1-2008 (“POSIX.1”) specification.
foldutility first appeared in 1BSD. It was rewritten for 4.3BSD-Reno to improve speed and modernize style. The
-soptions were added to NetBSD 1.0 for IEEE Std 1003.2 (“POSIX.2”) compliance.
foldon June 28, 1977. Kevin Ruddy rewrote the command in 1990, and J. T. Conklin added the missing options in 1993.
width should be a multiple of 8 if tabs are
present, or the tabs should be expanded using
expand(1) before using
|December 28, 2011||OpenBSD-5.1|