J
Julien Biard
Hi,
I would like to execute call system on a filename with a backquote (`),
but I don't know how to escape it.
-> ls "[Shawn Lee]/10. Shawn Lee\`s Ping Pong Orchestra - Bollywood.mp3"
-rw-r--r-- 1 hobs medias 3,0M 2009-01-18 15:16 [Shawn Lee]/10. Shawn
Lee`s Ping Pong Orchestra - Bollywood.mp3
sh: -c: line 1: syntax error: unexpected end of file
sh: -c: line 1: syntax error: unexpected end of file
Bollywood.mp3: No such file or directory
Any idea ?
Regards,
Julien
I would like to execute call system on a filename with a backquote (`),
but I don't know how to escape it.
-> ls "[Shawn Lee]/10. Shawn Lee\`s Ping Pong Orchestra - Bollywood.mp3"
-rw-r--r-- 1 hobs medias 3,0M 2009-01-18 15:16 [Shawn Lee]/10. Shawn
Lee`s Ping Pong Orchestra - Bollywood.mp3
sh: -c: line 0: unexpected EOF while looking for matching ``'s = "[Shawn Lee]/10. Shawn Lee`s Ping Pong Orchestra - Bollywood.mp3" => "[Shawn Lee]/10. Shawn Lee`s Ping Pong Orchestra - Bollywood.mp3"
`ls "#{s}"`
sh: -c: line 1: syntax error: unexpected end of file
sh: -c: line 0: unexpected EOF while looking for matching ``'s2 = "[Shawn Lee]/10. Shawn Lee\`s Ping Pong Orchestra - Bollywood.mp3" => "[Shawn Lee]/10. Shawn Lee`s Ping Pong Orchestra - Bollywood.mp3"
`ls "#{s2}"`
sh: -c: line 1: syntax error: unexpected end of file
ls: cannot access [Shawn Lee]/10. Shawn Lee`s Ping Pong Orchestra -s3 = "[Shawn Lee]/10. Shawn Lee\\`s Ping Pong Orchestra - Bollywood.mp3" => "[Shawn Lee]/10. Shawn Lee\\`s Ping Pong Orchestra - Bollywood.mp3"
`ls "#{s3}"`
Bollywood.mp3: No such file or directory
Any idea ?
Regards,
Julien