go ahead... be a heretic | |
PerlMonks |
Re: Inserting a single-quote into a fileby Chmrr (Vicar) |
on Jun 19, 2002 at 12:54 UTC ( [id://175645]=note: print w/replies, xml ) | Need Help?? |
Yup, it's a shell quoting problem. Switch up the quotes: perl -pi -e"s/ where/' where/g" *.sql..works fine. perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'
In Section
Seekers of Perl Wisdom
|
|