[FFmpeg-devel] [PATCH] lavu/avstring: support "'" escaping in sequence of chars enclosed by "'"
nicolas.george at normalesup.org
Sun Sep 9 19:49:51 CEST 2012
Le nonidi 19 fructidor, an CCXX, Stefano Sabatini a écrit :
> In sendcmd, a filter argument is parsed as a single token:
> and whitespaces are used as separators, so each space needs to be escaped.
> So I thougth it could be useful to write:
> rather than:
> which is somehow cumbersome.
That makes sense.
> On the other hand, if this is the standard quoting behavior I'd better
> drop this patch.
The most obvious solution would be to implement double quotes as well as
single quotes, with the same rules as the shell (minus the $ expansion of
course), but that is more work.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel