On 18 May 1999, Chmouel Boudjnah wrote:


Which will result in the script fo fail if $PARAM is undefined.

Vadim's suggestion wasn't just a matter of semantics.

--Ariel
> Vadim Vygonets <[EMAIL PROTECTED]> writes:
> 
> > > [ "$PARAM" != "SOMETHING" ] || {
> > > ;}
> > I think that it's better to do:
> > if [ "X$PARAM" != "XSOMETHING" ]; then .....
> 
> Yes you right it's more unix, but i usually use the "$PARAM" !=
> "SOME".
> 
> --
> MandrakeSoft      http://www.mandrakesoft.com
>                                       --Chmouel
> 
> 

   +---------------------------------------------------------------+
   | Ariel Biener                                                  |
   | e-mail: [EMAIL PROTECTED]           Work phone: 03-6406086 |
   | fingerprint = 07 D1 E5 3E EF 6D E5 82 0B E9 21 D4 3C 7D 8B BC |
   +---------------------------------------------------------------+





Reply via email to