sed reverse lines of output or file

From thelinuxwiki
Jump to: navigation, search
sed 'x;1!H;$!d;x'