Tuesday, April 28, 2009

emacs sort lines.

I always tend to use OpenOffice spreadsheet for sorting numbers or lines. I knew, there will be something in emacs to do the same. But, I was so lazy to figure out for long time. Today, i did google search and found a way to sort-lines.

mark the region using C- and moving cursor across lines and then,

M-x sort-lines

source:
http://edivad.wordpress.com/2008/04/11/emacs-sorting-lines/

No comments: