[PLUG] Sort numbers in 'natural' order
Rich Shepard
rshepard at appl-ecosys.com
Sun May 31 17:54:58 UTC 2015
On Sun, 31 May 2015, Roderick Anderson wrote:
> I think this is the solution. Been a long time since I looked at the
> (very long pipe) script it was in so YMMV.
>
> sort -t . -k 1,1n -k 2,2n -k 3,3n -k 4,4n
Rod,
Thanks! That does the trick. I don't understand the keydefs, but as long
as it does the job I'll take it on faith. :-)
Much appreciated,
Rich
More information about the PLUG
mailing list