On 20/03/17 08:45, Gene Heskett wrote: > On Monday 20 March 2017 02:26:01 Jon LaBadie wrote: > >> In the category of "You learn something new every day", >> I just stumbled across the "-v" option of the "ls" command. >> >> When I list my vtape "Slots" directory, the first 5 entries >> are: >> >> slot0 >> slot1 >> slot10 >> slot100 >> slot101 >> >> slot2 doesn't appear for another 40 or 50 entries. >> Well the "-v" options gives the desired ordering, >> i.e. 0, 1, 2, 3, ... >> >> The description of the "-v" option is: >> >> -v natural sort of (version) numbers within text >> >> Might be something to add to your kit bag. >> >> Jon > > I didn't know that either Jon. It turns out that one really should read > the manpages all the way thru, something I don't always do. Its a good > addition to ones "bag of tricks". > > Thank you. > Thank you. > > Cheers, Gene Heskett > For some of us that should be "re-read" the man pages. It turns out some commands have changed slightly over the last 20 years! What's worse is when a raw beginner says "why don't you use this option", which wasn't there last time I read it. :-( Martin
signature.asc
Description: OpenPGP digital signature