Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Inserting a single-quote into a file

by Chmrr (Vicar)
on Jun 19, 2002 at 12:54 UTC ( [id://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'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-19 04:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found