(The <> reads the file into a list and the reverse flips the list, which is then passed to print):
perl -e 'print reverse <>' filename
In reply to Re: Better Way to Do it 2
by kesterkester
in thread Better Way to Do it 2
by cored
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |