[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Syntax error
- Subject: [ale] Syntax error
- From: zymana at hra.nyc.gov (Zyman, Andy)
- Date: Fri, 26 Oct 2001 18:07:34 -0400
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.