Reference: fold
Author: Daniel Gilly & the Staff of O'Reilly & Associates
Date: 1998-08-06T21:52:57Z

#

| Chapter 2 UNIX Commands |

## 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).

Reference: fmtmsg |  | Reference: ftp