Alphabetizing a list of items not possible in text editor?
I've got a list of many items (1000+ items) and I need them to be alphabetized in my text editor. e.g.
Turning a list such as dog cat pen coat to: cat coat dog pen <<< --- alphabetized result All of the text editors I've tried including: * kate * kwrite * kedit * gedit Do NOT support this feature! Is there any way I could find a text editor that does, or a bash script or shell command that could do this? Thanks! |
man sort. :)
cat FILE | sort > FILE2 The sort manpage will give you all the options you could want. :) |
All times are GMT -5. The time now is 12:51 AM. |