Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fold(1) — HP-UX 7.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

expand(1)

FOLD(1)

NAME

fold − fold long lines for finite width output device

SYNOPSIS

fold [ −width ] [ file ...  ]

DESCRIPTION

Fold is a filter which will fold the contents of the specified files, or the standard input if no files are specified, breaking the lines to have maximum width width.  The default for width is 80.  Width should be a multiple of 8 if tabs are present, or the tabs should be expanded using expand(1) before coming to fold. 

SEE ALSO

expand(1)

BUGS

If underlining is present it may be incorrectly altered by folding. 

EXTERNAL INFLUENCES

Environment Variables

LC_CTYPE determines the interpretation of text as single and/or multi-byte characters. 

If LC_CTYPE is not specified in the environment or is set to the empty string, the value of LANG is used as a default for each unspecified or empty variable.  If LANG is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of LANG.  If any internationalization variable contains an invalid setting, fold behaves as if all internationalization variables are set to "C".  See environ(5).

International Code Set Support

Single- and multi-byte character code sets are supported. 

Hewlett-Packard Company  —  HP-UX Release 7.0: Sept 1989

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026