Question

For example res=`some command`

elif [ "X${res}" != "X1" ];

What does this syntax mean?
I mean exactly "Xvar" "Xval"

in short.... if the value of the variable 'res' is not '1'

:slight_smile:
I need not in short!
what is the difference between [ "$res" != 1 ] [ "X${res}" != "X1" ]??