Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: One-liner to fix LaTeX quotation marks

by aitap (Deacon)
on Oct 14, 2012 at 19:48 UTC ( #998970=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    cat file.txt | perl -pe 's/\"[^[\'\`]/"`/g'
    
  2. or download this
    $ perl -pe "s/\"([^'\`])/'\$1/g"
    This is "an example", but "`this not"'.
    This is 'an example', but "`this not"'.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://998970]
help
Chatterbox?
[marto]: morning all

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2017-07-23 07:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (345 votes). Check out past polls.