Re: /bin/sh as an alternative
> If bash is invoked with the name sh, it tries to mimic the
> startup behavior of historical versions of sh as closely
> as possible, while conforming to the POSIX standard as
> well.
>
> So, if POSIX says that the example above should be
>
> $ echo hello {there,world}
> hello {there,world}
>
> then this is a bug in bash, IMHO. Can somebody check bash for other
> non-POSIX features is has when called as `sh' and file bug reports for
> them?
>
> `startup behavior' is not the same as `behavior while bash is
> running.' `startup behavior' just means what dotfiles get run at bash
> startup time.
It does say "while conforming to the POSIX standard as well".
Brian
( bcwhite@verisim.com )
-------------------------------------------------------------------------------
Touch passion when it comes your way. It's rare enough as it is;
don't walk away when it calls you by name. -- Marcus (Babylon 5)
Reply to: