in reply to Re: Llama ./tac stumper (GOLF)
in thread Llama ./tac stumper

That is more complex than you need.
perl -e 'print reverse <>' betty barney
Switch quotes to " if you're on Windows.

Replies are listed 'Best First'.
Re^3: Llama ./tac stumper (GOLF)
by BrowserUk (Patriarch) on Jun 07, 2004 at 06:58 UTC

    Agreed. The only downside is that all the files to be reversed have to be in memory simultaneuosly, but that probably ok for golf :)


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail