I am a bit surprised that it has never been suggested before but I could
not find any trace of it, so here it is:
Would it be possible to specify the sorting keys from the end of the
record, instead of the beginning. Something like sort -k-1,-1 to sort on
the last field of each record, sort -k-2,-2 for the second to last...
This would be handy when the format has a variable number of fields per
record but the last records are well defined.
--
Renaud Pacalet
Télécom Paris
Campus SophiaTech
450 Route des Chappes, CS 50193
06904 Biot Sophia Antipolis cedex, FRANCE
Tel : +33 (0) 4 9300 8402
Web : http://www.telecom-paris.fr/