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

Andy Wardley abw at wardley.org
Fri Nov 9 11:35:04 GMT 2007


Jonathan Stowe wrote:
> 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.
> 
> set +H 

Bingo!

   abw at svr15:~$ perl -e "print qq{hello!\n}"
   -bash: !\n}": event not found
   abw at svr15:~$ set +H
   abw at svr15:~$ perl -e "print qq{hello!\n}"
   hello!

Thx
A



More information about the london.pm mailing list