0

I have found this in an old script but can't tell what is the use of the "x" infront of the ${VARIABLE} and infront of the value "onx" being compared

VARIABLE="${VARIABLE:-"on"}"
if [ "${VARIABLE}x" != "onx" ]

Are there any effects if the x is removed?

0 Answers0