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

Kenneth Loafman ken at lt.com
Sun Oct 28 16:47:51 CST 2001


R P Herrold wrote:
> 
> On Sun, 28 Oct 2001, Steve Baker wrote:
> 
> > Kenneth Loafman wrote:
> > >
> > > An interesting bug was found in RH 7.1 shell.  Redirection of both
> > > stdout and stderr can be done with either >& or &>, with the first form
> > > being predominate in use.  Both are semantically equivalent according to
> > > the bash manual.  I've been using >& for years and its embedded in a lot
> > > scripts since it works on every other distro.  Not so for Redhat 7.1.
> 
> 
> perhaps there is some issue with your profile?

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.

...Ken



More information about the Discuss mailing list