Quoth Chmouel Boudjnah on Tue, May 18, 1999:
> [ "$PARAM" != "SOMETHING" ] || {
> ;}
I think that it's better to do:
if [ "X$PARAM" != "XSOMETHING" ]; then .....
Or, if you check for an enpty string,
if [ "X$PARAM" != "X" ]; then .....
Vadik.
--
The ill-formed Orange
Fails to satisfy the eye:
Segmentation fault.
- sh script Q Mike Almogy
- Re: sh script Q Oleg Goldshmidt
- Re: sh script Q Vadim Vygonets
- Re: sh script Q Chmouel Boudjnah
- Re: sh script Q Ariel Biener
- Re: sh script Q Alexander L. Belikoff
- Re: sh script Q Vadim Vygonets
- Re: sh script Q Gaal Yahas
- Re: sh script Q Vadim Smelyansky
- Re: sh script Q Oleg Goldshmidt
- Re: sh script Q Vadim Vygonets
- Re: sh script Q Vadim Vygonets
- Re: sh script Q Adam Morrison
