On 7/23/19 1:31 PM, Assaf Gordon wrote:

> 
> This is not about "-p", but simply that "{}" puts the entire input line
> ("0 0") as a single parameter (as if quoted).
> 
> The correct comparison is:
> 
>   echo | xargs -p xdotool mousemove 0 0 click 1 mousemove restore
> vs
>   echo | xargs -p xdotool mousemove "0 0" click 1 mousemove restore

Still, it would be nice if xargs could add appropriate quoting in its -p
output to avoid the ambiguity.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to