Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Command line file sorting

by sgt (Deacon)
on Sep 05, 2007 at 21:28 UTC ( [id://637271]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     
    % echo dir*/ | xargs -n1 | sort -rnt- -k2,3 | perl -lne 'print if $. =
    +=2'
    
  2. or download this
    % NL='
    > '
    ...
    dir-100-9
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://637271]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-03-28 08:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found