Subject: Re: redirection within sh-like shells
To: Jan Schaumann <firstname.lastname@example.org>
From: Aymeric Vincent <Aymeric.Vincent@labri.fr>
Date: 08/15/2002 17:00:21
Jan Schaumann <email@example.com> writes:
> Klaus Heinz <firstname.lastname@example.org> wrote:
> > $ sh
> > $ bla >/dev/null 2>&1
> > bla: not found
> Given my understanding of shells and redirection, I can not comprehend
> why 'sh' does _not_ print the error to /dev/null. It has been
> instructed to do so.
Actually, the shell has been instructed to redirect the output of the
"bla" command to /dev/null. Not its own output.
So it seems semantically correct to me.