-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Choose a more descriptive subject line - my spam-eater nearly skipped over your message.
According to V.Nadeem Ahmad on 1/30/2007 10:54 PM: > Hi, > I would like to kow how can i sort a colomn in a file without changing > other > colomn. when I sort i dont want to move my other colomns. 'sort -k2,2' will sort over just the contents of the second column, with ties broken by the overall line. 'info sort' will give you a better idea of all the flags that make sort so powerful. If, on the other hand, you want to extract a column, sort just that, then reinsert it back into the same location, you should look into cut and join, alongside sort. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFwJkr84KuGfSFAYARArPPAJ9wTXDu/xXMZaJrOfdulLowO9xBLgCgtJJt 99U/YSBdnWBLUW6thfzkpZg= =Ka/a -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
