Martin Wheatley wrote:
> You also asked ...
> 
> > Is there an example of
> > another command shell which handles this situation in a different and
> > possibly better way?
> 
> /bin/sh handles the situation correctly (in our opinion)

On my system /bin/sh is a symlink to /bin/bash and behaves similarly.
But on other systems it may be a symlink to other shells or may be a
native posix shell implementation.  Or on some systems trying to be
antiquated it may be a classic Bourne shell.  Many posix shell
implementations are based upon the AT&T ksh.  On the systems I tested
they all behaved like bash does here.

Bob


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to