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
How about checking that the .sh file doesn't contain a carriage return before line feed.
Windows \r\n -> CR LF
Unix \n -> LF