by onli · 12y ago · 0 comments
for i in {0..5};do
echo "$1"
doneBut bash with its additional features (like associative arrays) is much more comfortable, so if you know you can use bash - because the target is GNU/Linux - it is a good idea to use them.
for i in `seq 0 5`; do
echo "$i"
done
and that will work perfectly well on dash.