aboutsummaryrefslogtreecommitdiff
path: root/man/man1/cat.1
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-03 06:40:20 +0000
committerrsc <devnull@localhost>2005-01-03 06:40:20 +0000
commit058b0118a52061ad57694c01fc8763b22b789c4d (patch)
tree6685f04dea5ed68edaa34998c976aed34c55fe94 /man/man1/cat.1
parent2600337aa704efbeba8201e88147a764b4fd2b90 (diff)
downloadplan9port-058b0118a52061ad57694c01fc8763b22b789c4d.tar.gz
plan9port-058b0118a52061ad57694c01fc8763b22b789c4d.tar.bz2
plan9port-058b0118a52061ad57694c01fc8763b22b789c4d.zip
Some man pages.
Diffstat (limited to 'man/man1/cat.1')
-rw-r--r--man/man1/cat.126
1 files changed, 24 insertions, 2 deletions
diff --git a/man/man1/cat.1 b/man/man1/cat.1
index 3b24bdde..d2b8d5c0 100644
--- a/man/man1/cat.1
+++ b/man/man1/cat.1
@@ -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