Subject: Re: redirection within sh-like shells
To: Klaus Heinz <k.heinz.aug.zwei@onlinehome.de>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-userlevel
Date: 08/15/2002 13:15:28
On Thu, 15 Aug 2002, Klaus Heinz wrote:
> I may have found another unusual behaviour of sh(1) on 1.5.2 and
> 1.6_BETA4:
>
>   $ 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)?

I don't know, but I found out the same a few days ago on Solaris.
/bin/sh prints the error, while ksh doesn't.


 - Hubert

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/