for loop range not working ksh
Posted
by jsg25
on Stack Overflow
See other posts from Stack Overflow
or by jsg25
Published on 2010-06-09T11:17:38Z
Indexed on
2010/06/09
11:22 UTC
Read the original article
Hit count: 147
I tried this,
#!/bin/ksh
for i in {1..10}
do
echo "Welcome $i times"
done
in Ksh of an AIX box. I am getting the output as,
Welcome {1..10} times
What's wrong here? Thanks.
© Stack Overflow or respective owner