Get rid of tac and use sed instead

http://www.catonmat.net/blog/sed-one-liners-explained-part-one/
Merge branch 'xsel-tac'