In article <rog31a$gsn$
1...@dont-email.me>,
BugHunter <bugh...@com.invalid> wrote:
...
>Thank you. What is the function of '2'?
https://en.wikipedia.org/wiki/2
(in "2> nul")
Actually, it is something borrowed into recent versions of DOS/Windows,
from Unix. 2 here is the file descriptor of the standard error output
(often referred to as "stderr"). So, this redirects file descriptor 2 to
the nul device.
Another useful application of this is something like:
someCommand > outfile.txt 2>&1
This syntax also is copied from Unix - it means to send the stderr output
to the same log file as the regular (stdout) output. Essentially, the two
output channels are merged into a single stream.
--
The randomly chosen signature file that would have appeared here is more than 4
lines long. As such, it violates one or more Usenet RFCs. In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
http://user.xmission.com/~gazelle/Sigs/BestCLCPostEver