Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Sorting files

by Anonymous Monk
on Oct 02, 2015 at 07:53 UTC ( [id://1143648]=note: print w/replies, xml ) Need Help??


in reply to Sorting files

sure, decorate/sort/undecorate, see Understanding the Schwartzian transform., sorting type question- space problems

basically, tag every line with a calculated key ... for example turn 1.3 and x1.1y into 000001.000003 and x000001.000001y ... whatever makes the sense for the order you want

Then use the gnu sort or some other sort to sort your giant file

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-20 03:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found