How to sort a comma separated file (with following details) based on salary (ascending or descending)
a.Ename,firstname,lastname,salary
|
How to sort a comma separated file (with following details) based on salary (ascending or descending)
|
||||
|
|
|
That's for ascending, throw in -r for descending. |
|||||
|
|
In my country the separator is not , but ; - so the solution is more complicated. Just in case this applies here too...:
and instead of -t, I use
|
|||
|
|