in reply to sed regexp works on the command line, but not from Perl script

To add to the groundswell of support for rewriting your sed script into Perl: check out s2p, which will translate sed to Perl.

emc

At that time [1909] the chief engineer was almost always the chief test pilot as well. That had the fortunate result of eliminating poor engineering early in aviation.

—Igor Sikorsky, reported in AOPA Pilot magazine February 2003.
  • Comment on Re: sed regexp works on the command line, but not from Perl script