On Sat, Mar 03, 2007 at 12:00:43PM +0200, Jari Aalto wrote: > It would be nice if the filenames would be automatically follow > natural sorting criterias, like they would with NNN. > > > dateext > > Archive old versions of log files adding a daily extension > > like > > YYYYMMDD instead of simply adding a number. > > That would be alternative. but wouldn't help handling the numbered files.
Pardon? > I would be nice if the filenames would automatically have sequence > numbers that would be uniform, like NNN. Now the sort(1) command > cannot be easily applied to the names Is not YYYYMMDD uniform (until the year 10000, at least)? Does it not sort correctly? Yesterday's date in YYYYMMDD form is 20070302. Today's is 20070303. (Y=year, M=month, D=day of month) -- Paul Martin <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]