rotate lines reversely by 51b

-module(r).
-export([m/0]).
m()->g("","").
g(S,T)->case io:get_line('')of eof->io:put_chars(S++T);U->g(U,T++S)end.

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page