home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


fold [options ] [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.



The line width specifies bytes, not characters. Solaris only.


Break lines after the last whitespace character within the first width characters. Solaris only.

-w n

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

Previous: Reference: fmtmsg UNIX in a Nutshell: System V Edition Next: Reference: ismpx
Reference: fmtmsg Book Index Reference: ismpx

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