Fix markup.
This commit is contained in:
parent
d7102ae53c
commit
17bba29b9b
@ -111,7 +111,7 @@ The command:
|
|||||||
.Dl "cat file1"
|
.Dl "cat file1"
|
||||||
.Pp
|
.Pp
|
||||||
will print the contents of
|
will print the contents of
|
||||||
.Ar file1
|
.Pa file1
|
||||||
to the standard output.
|
to the standard output.
|
||||||
.Pp
|
.Pp
|
||||||
The command:
|
The command:
|
||||||
@ -119,13 +119,13 @@ The command:
|
|||||||
.Dl "cat file1 file2 > file3"
|
.Dl "cat file1 file2 > file3"
|
||||||
.Pp
|
.Pp
|
||||||
will sequentially print the contents of
|
will sequentially print the contents of
|
||||||
.Ar file1
|
.Pa file1
|
||||||
and
|
and
|
||||||
.Ar file2
|
.Pa file2
|
||||||
to the file
|
to the file
|
||||||
.Ar file3 ,
|
.Pa file3 ,
|
||||||
truncating
|
truncating
|
||||||
.Ar file3
|
.Pa file3
|
||||||
if it already exists.
|
if it already exists.
|
||||||
See the manual page for your shell (i.e.,
|
See the manual page for your shell (i.e.,
|
||||||
.Xr sh 1 )
|
.Xr sh 1 )
|
||||||
@ -136,21 +136,21 @@ The command:
|
|||||||
.Dl "cat file1 - file2 - file3"
|
.Dl "cat file1 - file2 - file3"
|
||||||
.Pp
|
.Pp
|
||||||
will print the contents of
|
will print the contents of
|
||||||
.Ar file1 ,
|
.Pa file1 ,
|
||||||
print data it receives from the standard input until it receives an
|
print data it receives from the standard input until it receives an
|
||||||
.Dv EOF
|
.Dv EOF
|
||||||
.Pq Sq ^D
|
.Pq Sq ^D
|
||||||
character, print the contents of
|
character, print the contents of
|
||||||
.Ar file2 ,
|
.Pa file2 ,
|
||||||
read and output contents of the standard input again, then finally output
|
read and output contents of the standard input again, then finally output
|
||||||
the contents of
|
the contents of
|
||||||
.Ar file3 .
|
.Pa file3 .
|
||||||
Note that if the standard input referred to a file, the second dash
|
Note that if the standard input referred to a file, the second dash
|
||||||
on the command-line would have no effect, since the entire contents of the file
|
on the command-line would have no effect, since the entire contents of the file
|
||||||
would have already been read and printed by
|
would have already been read and printed by
|
||||||
.Nm
|
.Nm
|
||||||
when it encountered the first
|
when it encountered the first
|
||||||
.Ql \&-
|
.Sq Fl
|
||||||
operand.
|
operand.
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr head 1 ,
|
.Xr head 1 ,
|
||||||
@ -190,7 +190,9 @@ It appears to have been
|
|||||||
Because of the shell language mechanism used to perform output
|
Because of the shell language mechanism used to perform output
|
||||||
redirection, the command
|
redirection, the command
|
||||||
.Dq Li cat file1 file2 > file1
|
.Dq Li cat file1 file2 > file1
|
||||||
will cause the original data in file1 to be destroyed!
|
will cause the original data in
|
||||||
|
.Pa file1
|
||||||
|
to be destroyed!
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
|
Loading…
Reference in New Issue
Block a user