[ale] Syntax error

Zyman, Andy zymana at hra.nyc.gov
Fri Oct 26 18:07:34 EDT 2001


Hello,
pretty stupid question I guess:
I have ksh
#!/bin/ksh
TARZ_SIZE=100
echo " the size is : $(($TARZ_SIZE / 1024))  "
#eof

now if I'm checking synt.:
ksh -n <mysript.sh>
it reports:
..... .sh[210]:  / 1024: syntax error
but executes correctly.
now if I'm changing:
echo " the size is : $TARZ_SIZE/1024  "
synt: check - Ok
but error during exec.
how come??


Thank You
 Andy

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list