Pages

Tuesday, July 19, 2011

Reverse the ordering of lines in a file

cat file | perl  -e 'print reverse <>'

2 comments: