I have this script which works on my linux machine
#!/bin/sh c=1 if [ $c == 1 ] then echo c is 1 else echo c is 0 fi
But when I use this in
I run into this issue also and found a solution (on another site)
if [[ $b -gt 0]] then echo 'Hooray it works' else echo 'still works' fi