Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^3: syntax error near unexpected token `)'

by zwon (Abbot)
on May 20, 2012 at 17:17 UTC ( #971507=note: print w/replies, xml ) Need Help??

in reply to Re^2: syntax error near unexpected token `)'
in thread syntax error near unexpected token `)'

This sounds more like a bash question to me, but you can replace single quotes with \N{APOSTROPHE} or \x27. In bash you can do it like this:
$ echo 'aa'"'"'bb'; aa'bb

Replies are listed 'Best First'.
Re^4: syntax error near unexpected token `)'
by ikegami (Pope) on May 21, 2012 at 02:24 UTC

    Alternatively and one shorter: Change ' to '\''.

    $ echo 'aa'\''bb'; aa'bb

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://971507]
LanX gets eaten by a black hole popping up in the vacuum of his head
[Eily]: that a black hole formed there would rather be the sign of a head too full
LanX can't hint anymore to zentaras video because he disappeared

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2017-06-23 16:30 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (552 votes). Check out past polls.