Subject: Re: Bug#285264: ecasound: playing of ogg files with spaces in names doesn't work
From: Junichi Uekawa (dancer_AT_netfort.gr.jp)
Date: Sun Dec 12 2004 - 10:50:22 EET
Hi.
> Interesting. Well, your solution works for escaping spaces, which is
> good, but fails on files with " in their names, which is more common
> than one might think (' is also common in song file names). Perhaps,
> the "kvu_string..." function could be modified to expand quoted %
> parameters specially? Alternatively, why not just always do
> meta-escaping on %-parameters, are they ever used to provide more than
> one command-line argument? Thanks,
If you have '"' in a filename, you would escape that with
backslashes, and you will need to handle how shell handles them also.
How did you pass them on to ecasound?
I think you will need to add two backslashes '\\"' to
get it escaped.
regards,
junichi
This archive was generated by hypermail 2b28 : Sun Dec 12 2004 - 10:50:30 EET