[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

sort question



Hi,

I'd like to sort, maybe cut, and redirect text lines based on the 3 or 4
last chars; is this possible? how?
I have a command like this:
sort -o out.txt -k 1,2 -b -f -i src.txt 
cat out.txt |sort |uniq >nodupes.txt 

But I'd like to replace 1,2 by the right param for sorting based on the 3 4
last chars + supressing dupes too as above.

Thax for help,

Ald0 

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list

[Home]     [Fedora]     [Kernel List]     [Red Hat Install]     [Red Hat Watch List]     [Red Hat Development]     [Free Online Dating Site]     [Red Hat 9]     [Gimp]     [Yosemite News]     [Yosemite Campsites]     [Big List of Linux Books]

Powered by Linux