News for hackers. Stuff that matters.
Re:Naming things (2015) [pdf] by andrewflnr on Friday August 18, 2017 @02:32AM (#15044030)
My only real concern is with left-padding numbers with 0s when you don't know in advance how big the numbers are going to get. Do you pad to 2 or 3 digits or...
Re:Naming things (2015) [pdf] by gdickie on Friday August 18, 2017 @06:53AM (#15045084)
When you have a long list of numbered filenames with no padding, pipe the list through "sort -V" for "version number" ordering.

Edit: Glitchmr has a better solution below, "ls -v".

Re:Naming things (2015) [pdf] by stouset on Friday August 18, 2017 @04:14AM (#15044436)
Another annoyance is sorting hostnames, which reasonable sort right-to-left with period-delineated fields.