On Thu, Mar 21, 2013 at 07:26:23PM +0400, Alexander Sedov wrote:
> xprop prints information in format PROPERTY(STRING) = "escaped string",
> which causes problem with repeated Ctrl-F: any non-ascii turns into
> \ooo\ooo, this later turns into \\ooo\\ooo, and so on. To de-escape
> string, echo -en is used, getting information from xargs -0; without
> -0 xargs will try to handle escapes by itself and also do shenanigans
> with quotes, which is totally undesired.

Can this be done with printf? ISTR echo -en isn't posix, whereas
printf is well defined.

Reply via email to