Re: A little text file munging golf on the list

[email protected] (Marius Ascheberg)
Newsgroups perl.golf
Message-ID <[email protected]>
On Thu, 13 Mar 2003 17:20:00 +0100
Marius Ascheberg <[email protected]> (I) wrote:

> So we're back to 32 strokes.
> 
> #!perl -p0
> s/^((\S+).+)\n\2 /$1 /m&&redo

I was too dumb, again.

So here's my last one, which seems to work and uses 33 strokes:

#!perl -p0
s/^((\S+) .+)\n\2 /$1 /m&&redo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.