I have sub-folders named 00 01 02, ... n with each foldername containing at least 2 digits. I need to access these sub-folders in os-x terminal. The command
for i in $(seq -w 00 06); do
echo $i;
done
produces an output of 0 1 2 3 4 5 6
. However, the above code in RHEL will produce an output of 00 01 02 03 04 05 06
. How can I enforce mac terminal to produce an output of at least 2 digits similar to RHEL?