[Info-vax] Still no DIR/SORT_BY_TIME

AEF spamsink2001 at yahoo.com
Sat Aug 15 10:13:02 EDT 2015


On Saturday, August 15, 2015 at 4:59:29 AM UTC-4, Paul Sture wrote:
> On 2015-08-15, AEF <spamsink2001 at yahoo.com> wrote:
> > On Thursday, August 13, 2015 at 8:55:12 AM UTC-4, VAXman- wrote:
> 
> >> 
> >> I have products I support that are free of charge; are those not
> >> permissable in your environment?
> >
> > I don't know.
> >
> > Anyway, I find 
> >
> > ls -ltr | tail
> >
> > quite handy. Just can't believe that VMS still doesn't have something
> > like that after ~38 years. I was just remarking about it. 
> 
> One I've just come across recently in the Linux world (but
> unfortunately not on OS X or other Unix-based systems):
> 
> sort -h, --human-numeric-sort
>            compare human readable numbers (e.g., 2K 1G)
> 
> This is particularly useful for the output of 'du':
> 
> du -h | sort -h

Interesting. Haven't seen this one before. For du I've been using this:

new-host:ENGLISH root# du -k | sort -nr
2168	.
256	./GRAMMAR
228	./GRAMMAR/ADJECTIVE ORDER
52	./PUNCTUATION
new-host:ENGLISH root# 

Works even on Solaris!

> >> -- 
> >> VAXman- A Bored Certified VMS Kernel Mode Hacker 
> >> 
> >> I speak to machines with the voice of humanity.
> >
> > I curse at them.
> 
> I refuse to be beaten by them.  I don't always succeed with that :-)

Actually, the voice of humanity often _is_ cursing!

> -- 
> "I have spent most of the day putting in a comma and
>  the rest of the day taking it out."  -- Oscar Wilde

AEF



More information about the Info-vax mailing list