[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sh script Q



Vadim Vygonets <vadik@cs.huji.ac.il> 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