Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Re: Double Sort on a file

by PhiRatE (Monk)
on Jul 22, 2002 at 22:22 UTC ( #184259=note: print w/replies, xml ) Need Help??

in reply to Re: Double Sort on a file
in thread Double Sort on a file

I believe that actually merges the two columns as a single key, as opposed to using two keys (at least, thats the impression I get from the somewhat ambiguous man page). Thus, it would work fine if the two keys are next to each other (as they are in this case) and both strings. But for a numeric sort on column 1 and a string sort on column 2, you need to specify the keys independantly (-n -k 1 -k 2).

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2023-06-01 12:15 GMT
Find Nodes?
    Voting Booth?

    No recent polls found