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

Re^6: Splitting up quoted/escaped command line arguments

by choroba (Canon)
on Feb 11, 2014 at 21:27 UTC ( #1074514=note: print w/ replies, xml ) Need Help??


in reply to Re^5: Splitting up quoted/escaped command line arguments
in thread Splitting up quoted/escaped command line arguments

Yes, you can escape a single quote - outside single quotes.

$ echo 'a'\''b' a'b
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re^6: Splitting up quoted/escaped command line arguments
Download Code
Replies are listed 'Best First'.
Re^7: Splitting up quoted/escaped command line arguments
by Tommy (Chaplain) on Feb 11, 2014 at 21:29 UTC

    ...But that's just pure evil =D

    Tommy
    A mistake can be valuable or costly, depending on how faithfully you pursue correction
      Welcome to the shell. Expansion of variables and word splitting in bash are some of the reasons to love Perl.
      لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2015-08-04 10:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (62 votes), past polls