Hi ppl,
I have this one line in my shell script that looks like this:
x=`date +"%H"` ; echo $x ; while [ $x -lt 12 ] ; do ; x=`date +"%H"` ; done
It makes sense to me but when I run it, I get this error:
ksh: syntax error: `;' unexpected
What am I doing wrong?
Start Free Trial