minix/man/man1/fold.1

36 lines
680 B
Groff
Raw Normal View History

2005-05-02 15:01:42 +02:00
.TH FOLD 1
.SH NAME
fold \- fold long lines
.SH SYNOPSIS
\fBfold\fR [\fB\-\fIn\fR]\fR [\fIfile\fR] ...\fR
.br
.de FL
.TP
\\fB\\$1\\fR
\\$2
..
.de EX
.TP 20
\\fB\\$1\\fR
# \\$2
..
.SH OPTIONS
2012-03-31 23:44:29 +02:00
.TP 5
.B \-\fIn\fR
# How long should the output lines be
2005-05-02 15:01:42 +02:00
.SH EXAMPLES
2012-03-31 23:44:29 +02:00
.TP 20
.B fold \-60
# Fold \fIstdin\fR to 60 characters
.TP 20
.B fold file
# Fold \fIfile\fP to 80 characters
2005-05-02 15:01:42 +02:00
.SH DESCRIPTION
.PP
\fIFold\fR takes copies its input from the named file (or \fIstdin\fR,
if none is specified) to standard output.
However, lines longer than the given maximum (default 80) are broken
into multiple lines of the maximum length by inserting new line characters.
.SH "SEE ALSO"
.BR width (1).