Red Hat Bugzilla – Bug 99070
Man pages for io redirection characters do not exist
Last modified: 2007-04-18 12:55:38 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701
Description of problem:
There are no man pages for the operators "|", ">", and "<". These seem to be
very basic functions that are used all the time, and pages with examples and
explanations would be very useful.
One specific issue I've had that man pages would have been useful for is the
fact that ">" redirects stdout but not stderr. It took a long time to figure out
why ">" wasn't working, and then when I asked someone, they didn't know the
syntax for redirecting stderr. This should really be documented.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. man ">"
2. man "<"
3. man "|"
Actual Results: I was told "No manual entry for >".
Expected Results: I should have received a manual page.
the pipe and redirection you describe are functions of the shell... whether it
be bash, ksh, tcsh, etc.
They are documented in each of these respective man pages (for example "man
bash"-- yes, I know the page is long. "info bash" is easier to read).
As the pipe and redirection work differently in each shell (especially with
regards to combining stderr and stdout together), it would be inappropriate for
them to have a man page of their own, imo.