I'm trying to make a list with a simple bash looping
I want this:
000000 000001 000002 They give me this:
0 1 2 My shell code:
countBEG="000000" countEND="999999" while [ $countBEG != $countEND ] do echo "$countBEG" countBEG=$[$countBEG +1] done
echo {000..009}orseq -f '%05g' 0 9$((...))(don't use$[...], it's long been deprecated) simply returns the simplest representation it can for its expression.x="08"; ((x++))