Some man pages.

This commit is contained in:
rsc 2005-01-03 06:40:20 +00:00
parent 2600337aa7
commit 058b0118a5
214 changed files with 17112 additions and 1999 deletions

View file

@ -1,6 +1,6 @@
.TH CAT 1
.SH NAME
cat, read \- catenate files
cat, read, nobs \- catenate files
.SH SYNOPSIS
.B cat
[
@ -16,6 +16,11 @@ cat, read \- catenate files
] [
.I file ...
]
.br
nobs
[
.I file ...
]
.SH DESCRIPTION
.I Cat
reads each
@ -57,15 +62,32 @@ causes it to read no more than
.I nline
lines.
.PP
Read always executes a single
.I Read
always executes a single
.B write
for each line of input, which can be helpful when
preparing input to programs that expect line-at-a-time data.
It never reads any more data from the input than it prints to the output.
.PP
.I Nobs
copies the named files to
standard output except that it removes all backspace
characters and the characters that precede them.
It is useful to use as
.B $PAGER
with the Unix version of
.IR man (1)
when run inside a
.I win
(see
.IR acme (1))
window.
.SH SOURCE
.B /usr/local/plan9/src/cmd/cat.c
.br
.B /usr/local/plan9/src/cmd/read.c
.br
.B /usr/local/plan9/bin/nobs
.SH SEE ALSO
.IR cp (1)
.SH DIAGNOSTICS