Re: Another one-liner?
Eirik Berg Hanssen <[email protected]> Wed, 24 Jun 2009 18:59:41 +0200
| Newsgroups | gmane.comp.lang.perl.golf |
|---|---|
| Organization | Du Allverden AS |
| Message-ID | <[email protected]> |
[email protected] writes: > On Wed, Jun 24, 2009 at 04:26:05PM +0100, Jasper wrote: >> 2009/6/24 Daniel Tiefnig <[email protected]>: >> > >> > ?perl -00 -ne'/.{65535}/||print' >> > >> >> of course becomes >> >> perl -00 -pe'$_ x=!/.{65535}/' > > I'm probably overlooking something silly, but > > perl -O0 -pe's/.{65535,}//' > > ? Newlines. Eirik -- Perl programmers do it more than one way