Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://175645]
help
Chatterbox?
[Eily]: the French took it Discipulus
[Eily]: English copied French's habit of having a polite singular you, and lost thou through the ages :D
[Discipulus]: I havent took thine book, search it thyself.. sound very good and cool! i definitevely use Shakespeare's english
Discipulus is lazily looking his automated migration in backgound and has lot of free tiime..

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2017-11-23 11:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (333 votes). Check out past polls.

    Notices?