On Thu, 10 Mar 2005, Yanick Champoux wrote:
So do I, so do I. In fact, as nostalgia settles in, I've found myself
toying more and more these days with a type of competition that would both
encompass the Hermetic arts of golfing and allow for vicious interaction
between players. What I came up
Ala Qumsieh wrote:
--- Jasper <[EMAIL PROTECTED]> wrote:
Nice. Perhaps it'll prompt a new compo soon :)
Ahhh .. how I long for the good old days.
So do I, so do I. In fact, as nostalgia settles in, I've found
myself toying more and more these days with a type of competition that
wo
Traditional way:
perl -i -ne '[EMAIL PROTECTED],$_;eof&&[EMAIL PROTECTED]' in.file
> Оригинално писмо
>От: Eirik Berg Hanssen <[EMAIL PROTECTED]>
>Относно: Re: Perl golf article at Perl Monks
>До: Ala Qumsieh <[EMAIL PROTECTED]>
perl -pi -e '$_=<>.$_;eof||redo' in.file
> -Original Message-
> From: Ala Qumsieh [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 10, 2005 11:49 AM
> To: Jasper
> Cc: golf@perl.org
> Subject: Re: Perl golf article at Perl Monks
>
>
&
Ala Qumsieh <[EMAIL PROTECTED]> writes:
> I came up with this:
> perl -aF"\n" -lp0 -i -e '$_=join$\,[EMAIL PROTECTED]' in.file
>
> But then, I remembered Eugene's (in)famous solution to
> reverse sort, but couldn't get it to work:
>
> perl -pi -e '$x=$_.$x}{$_=$x' in.file
>
> This prints to screen
--- Jasper <[EMAIL PROTECTED]> wrote:
> Nice. Perhaps it'll prompt a new compo soon :)
Ahhh .. how I long for the good old days.
Speaking of that, there was a post yesterday on
comp.lang.perl.misc asking about a one-liner to
reverse the lines in a file in-place. So the input
file itself must be
On Tue, 8 Mar 2005 22:07:53 +1100 (EST), Andrew Savige
<[EMAIL PROTECTED]> wrote:
> A new article on Perl Golf has appeared at PM:
>
> http://www.perlmonks.org/?node_id=437032
>
> Someone has enquired about the true identity of Ton Hospel
> and I didn't really know how to answer.
Nice. Perhaps i