
162
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
--help
Print help message and then exit.
--version
Print version information and then exit.
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. Reads from standard input when
given - as a file. By default, fold cuts at 80 columns; tab counts as
multiple columns, and a backspace as negative one.
Options
-b, --bytes
Count bytes instead of columns, making tab, backspace, and
return characters count as one byte instead of altering the
column count, as in the default behavior.
-c, --characters
Count characters, not columns. Similar to counting by bytes.
-s, --spaces
Break at spaces only, if possible.
-w, --width width, -width
Set the maximum line width to width. The flags -w 6, --width
6, and -6 will all set the maximum width to six columns.
formail
formail [options]
Filter standard input into mailbox format. Useful for splitting mail
digests or passing the contents of a mail file to another program,
such as a spam filter, for additional processing. If no sender is
apparent, provide the sender foo@bar. By default, escape bogus
From lines with >.
Options
+skip
Do not split first skip messages.
-total
Stop after splitting total messages.
-a ...