I've got a csv file which I need to search in. The problem is that there's too much data in it and looking through the output is kind of problematic. It looks like this
col1,col2,...col23
1,123,...,12.01
43,1123,...,142.455
12,63,...,723.1122
...
So, after applying some grep pattern to it I'd like to have the output sorted by the col23 in descending order. col23 contains floating point numbers. Is there a way to do that?
I mean something like this:
grep "pattern" the_file.csv | ...sort it