On Monday 20 March 2017 18:18:08 J Martin Rushton wrote:

> 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

That can and has been embarrassing, so don't feel like you're only one 
caught out by seeming minor stuff.  BTDT.  All we can do is keep a warm, 
wet washcloth handy to wipe the egg off our faces. :-)

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

Reply via email to