On Fri, May 26, 2006 at 06:13:38PM -0400, Jason Tackaberry wrote:
> 
> I think the correct solution would be is to invoke /bin/bash explicitly.
> Because maybe the default shell is /bin/mycrappyshell that doesn't even
> support 2> syntax :)
> 
If a shell is not posix compatible is not worth to support it. 2> syntax is
in the posix standard and I think every shell in the world supports it, even
posix non compatible ones.
In general, in Unix I think there are more posibilities of having a posix
compatible shell in the system than to have bash.
If the shell script does a lot of things the capabilities of bash are great
but in this case depend on posix is better than to depend on bash.

-- 

Attachment: signature.asc
Description: Digital signature

Reply via email to