shell scripting: “Can I use seq to go from 001 to 999?”

The thread got closed there, so I cannot reply to it there …

I am not sure, why people ask that kind of question instead of simply trying it at least – but then …

Yes, of course that works, and not just with the coreutils’ seq but also with BusyBox’s seq, esp. if you are using not more than “-w”.


Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.