Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Inserting a single-quote into a file

by Chmrr (Vicar)
on Jun 19, 2002 at 12:54 UTC ( #175645=note: print w/ replies, xml ) Need Help??


in reply to Inserting a single-quote into a file

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'


Comment on Re: Inserting a single-quote into a file
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://175645]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2014-07-29 01:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls