Padding integers for use in filenames
If you’ve ever written code that generates a whole whack of files, you may have came across the following problem when processing them. Using a naming convention wherein files are numbered will gum up any ordering which is based on string sorting (ls, for example). What you end up ... [Read more...]