Use -o
instead of ||
, you want test
to interpret the value of the variable, not the shell.
./script.sh '1 -o 1 = 1'
CLICK HERE to find out more related problems solutions.
Use -o
instead of ||
, you want test
to interpret the value of the variable, not the shell.
./script.sh '1 -o 1 = 1'
CLICK HERE to find out more related problems solutions.