Adam Spiers wrote:
>
> cizaire_liste ([EMAIL PROTECTED]) wrote:
> > golf anyone ? :)
> >
> > arbitrary cut : 1 big #!.../perl, 2 perl lines
[snip]
> Heh! Very clever :-) A new rule required then?
My first cheating in TPR1 was to match the first rule : s!#!\S+/perl!!
This one is to match a stricter rule, but this way will probably
break any rule that allows a long #! line...
It surely can be improved (in particular be removing the '()')
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com