[NTLUG:Discuss] An Oddity (bug) in Redhat 7.1

Steve Baker sjbaker1 at airmail.net
Sun Oct 28 17:04:41 CST 2001


Kenneth Loafman wrote:

> Nope.  Does not happen on command line.  Only happens with subshells
> like the ones I supplied, or with system() calls in Python, etc.  sh is
> symlinked to bash, so the name difference may be the problem.  Still
> chasing.  If you've got access to 7.1 and 7.2 I'd appreciate a run of
> the tests from the first message in this thread.

So probably, they changed the behaviour for the benefit of command-line
users but made the shell revert to "standard" behaviour when running
scripts....inducing a bug in the process.

Really and truly, scripts that have "#!/bin/sh" at the top should
stick to Bourne shell syntax - which doesn't allow *either* &> or >&.


-- 
    NOTE: MY HOME PAGE HAS MOVED TO http://www.sjbaker.org - PLEASE
               UPDATE YOUR LINKS AND BOOKMARKS ACCORDINGLY!

----------------------------- Steve Baker -------------------------------
Mail : <sjbaker1 at airmail.net>   WorkMail: <sjbaker at link.com>
URLs : http://www.sjbaker.org
       http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net
       http://prettypoly.sf.net http://freeglut.sf.net
       http://toobular.sf.net   http://lodestone.sf.net



More information about the Discuss mailing list