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
-- 
"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