UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: fmtmsgChapter 2
UNIX Commands
Next: Reference: ftp
 

fold

fold [option] [files]

Break the lines of the named files so that they are no wider than the specified width. fold breaks lines exactly at the specified width, even in the middle of a word.

Option

-w n

Create lines having width n (default is 80). (Can also be invoked as -n for compatibility with BSD.)

-n

create lines having width n (default is 80).


Previous: Reference: fmtmsgUNIX in a Nutshell: System V EditionNext: Reference: ftp
Reference: fmtmsgBook IndexReference: ftp

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System