http://www.perlmonks.org?node_id=635670


in reply to regex question with balanced text

Your shell is getting you. You could put your one-liner into a file and specify that filename rather than the -e 'string' in the xargs command.
perl -pi ssi2php.pl

Ivan Heffner
Sr. Software Engineer
WhitePages.com, Inc.