LOL++ (Re: OT: It's arrived!)

Paul Makepeace paulm at paulm.com
Fri Nov 9 11:38:05 GMT 2007


On Nov 9, 2007 3:13 AM, Jonathan Stowe <jns at gellyfish.com> wrote:
> On Fri, 2007-11-09 at 10:33 +0000, Chisel Wright wrote:
> > On Fri, Nov 09, 2007 at 10:03:43AM +0000, Andy Wardley wrote:
> > > But I'm still not sure I understand why it doesn't work.  It looks like
> > > a perfectly proper escaped newline to me.  What am I missing?
> >
> > The perl expression is in double quotes which means that bash sees the !
> > and tries to do bash-magic on it.
> >
>
> Yes but anyone who has tried running perl one-liners more than once will
> have been annoyed by this and would have switched off shell history
> expansion, like, you know, years ago.

And miss out on !!, !$, !-2:$, !:h, !*, !^

No chance!

P "muscle memory" M

>
> set +H
>
> /J\
>


More information about the london.pm mailing list