Linux News
The world is talking about GNU/Linux and Free/Open Source Software
Sorting numbers inside text strings
I have a script that compiles and sorts museum collection data. One of the data fields is for museum registration codes, and a plain sort doesn't understand that humans expect "KS.99", for example, to come before "KS.100". My script instead uses the magic "-V" option for GNU sort, and gets the human-friendly result.
|
|
Full Story |
This topic does not have any threads posted yet!
You cannot post until you login.