1) When I try run the following script, it didn't work:
for (( i=0; i<10; i++ )) do print Hello; done
I was prompted:
ksh: syntax error: `((' unexpected
2) When I try to do this:
float i=2.3
I was prompted:
ksh: float: not found
Anyone could kindly explain this? Thanks a lot.
c**t 发帖数: 2744
2
【 在 ferry (死菜了) 的大作中提到: 】
for i in 0 1 2 3 4 5 6 7 8 9;
do
print Hello;
done
2) When I try to do this:
set float=2.3
echo $1
man ksh