Subject: Re: redirection within sh-like shells
To: None <tech-userlevel@netbsd.org>
From: Jan Schaumann <jschauma@netbsd.org>
List: tech-userlevel
Date: 08/15/2002 10:20:08
Klaus Heinz <k.heinz.aug.zwei@onlinehome.de> wrote:
> $ sh
> $ bla >/dev/null 2>&1
> bla: not found
> $ ksh
> $ bla >/dev/null 2>&1
> $ bash
> $ bla >/dev/null 2>&1
> $
>
> Which shell does The Right Thing(tm)?
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.
-Jan
--
Many nice things suck.