shitbox/pkg/usr/share/man/man1/fold.1

33 lines
857 B
Groff
Raw Normal View History

2023-02-13 10:30:46 -05:00
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.TH fold 1 "fold "
.SH NAME
fold \- Wrap each input line to fit in specified width
.SH SYNOPSIS
\fBfold\fR [\fB\-b\fR|\fB\-\-bytes\fR] [\fB\-s\fR|\fB\-\-spaces\fR] [\fB\-o\fR|\fB\-\-optimal\fR] [\fB\-w\fR|\fB\-\-width\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fIFILE\fR]
.SH DESCRIPTION
Wrap each input line to fit in specified width
.SH OPTIONS
.TP
\fB\-b\fR, \fB\-\-bytes\fR
Count bytes rather than columns
.TP
\fB\-s\fR, \fB\-\-spaces\fR
Break at spaces
.TP
\fB\-o\fR, \fB\-\-optimal\fR
Uses a look ahad algorithm to avoid unnecessarily short or long lines
.TP
\fB\-w\fR, \fB\-\-width\fR [default: 80]
Use width columns
.TP
\fB\-h\fR, \fB\-\-help\fR
Print help (see a summary with \*(Aq\-h\*(Aq)
.TP
[\fIFILE\fR]
The input file to use
.SH EXTRA
With no FILE, or when FILE is \-, read standard input
.SH AUTHORS
Nathan Fisher