AUSAM/doc/man/man1/fd2.1

Compare this file to the similar file:
Show the results in this format:

.tr ~
.th FD2 I 5/31/77
.sh NAME
fd2 \*- redirect file descriptor 2 (diagnostic output)
.sh SYNOPSIS
.bd fd2
[ fd2arg ] command [ command-arg ] ...
.sh DESCRIPTION
.it Fd2
executes
.it command
with file descriptor 2
(the diagnostic output) redirected to a file or to the standard output.
There are three forms:
.na
.sp
.lp +30 25
fd2 \-file comd ...	[write on
.it file
]
.lp +30 25
fd2 \-\-file comd ...	[append to
.it file
]
.lp +30 25
fd2 + comd ...	[causes
file descriptor 2 to be made the same as file descriptor 1]
.i0
.sp
In either of the first two cases,
omission of
.it file
causes
.bd msg.out
to be used as the output file.
Omission of
.it fd2arg
has the effect of
.bd \-msg.out.
.tr ~~