Re: OT - Bourne shell array sort

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tod wrote:
> Without having to write my own, is there a quick way I can sort a two
> dimensional array on a specific column?

Depending on the format of your data, you might be able to use 'sort -t
[field-separator] -k [column-number] file'. See 'man sort' for details.

-- 
Mark Knoop


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux