Skip Menu |

This queue is for tickets about the String-ShellQuote CPAN distribution.

Report information
The Basics
Id: 68664
Status: open
Priority: 0/
Queue: String-ShellQuote

People
Owner: Nobody in particular
Requestors: jamor [...] zentyal.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 1.03
  • 1.04
Fixed in: (no value)



Subject: Bad quote in string with "'" and spaces
Hello, the string q{etc/alternatives/MARKETING/Products Index/AA0062 Workin\'Hard/EXP 0.4/Technical Sheet/ea} after shell quote becomes q{etc/alternatives/MARKETING/Products\ Index/AA0062\ Workin\'\''Hard/EXP\ 0.4/Technical\ Sheet/ea'} As you could see there are extra quotes added between Workind and Hard. Thanks for you time, Javier
From: terminatorul [...] gmail.com
No extra quotes there, but the quoting style in sh is just so simple: no character within singe-quotes can be a special character Unfortunately that means you need other ways to quote the single-quote character: - use a backslash escape - surround it with double-quotes