On Sun, Feb 27, 2005 at 03:21:43PM +0100, Giuseppe Sacco wrote:
> I just checked manual pages of bash, dash, ksh and it seems that all of
> them accept this syntex. It isn't clear to me what is POSIX and what's not.

It is SUS but not POSIX.

> Do you suggest to change 
>   if [ exp1 -a exp2 ]
> in
>   if [ exp1 ] && [ exp2 ]
> ?

This is one fix, the other is to use /bin/bash.

> What is the shell you are using?

posh

Bastian

-- 
Schshschshchsch.
                -- The Gorn, "Arena", stardate 3046.2

Attachment: signature.asc
Description: Digital signature

Reply via email to