Research V3 development
authorKen Thompson <ken@research.uucp>
Thu, 8 Feb 1973 19:28:08 +0000 (14:28 -0500)
committerKen Thompson <ken@research.uucp>
Thu, 8 Feb 1973 19:28:08 +0000 (14:28 -0500)
Work on file man/man1/cat.1

Co-Authored-By: Dennis Ritchie <dmr@research.uucp>
Synthesized-from: v3

man/man1/cat.1 [new file with mode: 0644]

diff --git a/man/man1/cat.1 b/man/man1/cat.1
new file mode 100644 (file)
index 0000000..f366ec7
--- /dev/null
@@ -0,0 +1,44 @@
+.pa 1
+.he 'CAT (I)'1/15/73'CAT (I)'
+.ti 0
+NAME           cat -- concatenate and print
+.sp
+.ti 0
+SYNOPSIS       cat\b\b\b___ file\e91\e8 ...
+.sp
+.ti 0
+DESCRIPTION    cat\b\b\b___
+reads each file in sequence
+and writes it on the standard output.
+Thus:
+.sp
+.ti +3
+cat\b\b\b___ file\b\b\b\b____
+.sp
+is about the easiest way to print a file.
+Also:
+.sp
+.ti +3
+cat\b\b\b___ file1\b\b\b\b\b_____ file2\b\b\b\b\b_____ >file3\b\b\b\b\b\b______
+.sp
+is about the easiest way to concatenate
+files.
+.sp
+If no input file is given cat\b\b\b___ reads from the standard
+input file.
+.sp
+If the argument "-" is encountered, cat reads from
+the standard input file.
+.sp
+.ti 0
+FILES          --
+.sp
+.ti 0
+SEE ALSO       pr(I), cp(I)
+.sp
+.ti 0
+DIAGNOSTICS    none;
+if a file cannot be found it is ignored.
+.sp
+.ti 0
+BUGS           cat x y >x  and  cat x y >y  cause strange results.