bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xargs prompts with the same string, but executes differently


From: Eric Blake
Subject: Re: xargs prompts with the same string, but executes differently
Date: Wed, 24 Jul 2019 09:30:26 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

On 7/24/19 6:28 AM, James Youngman wrote:
> On Tue, Jul 23, 2019 at 7:51 PM 積丹尼 Dan Jacobson <address@hidden> wrote:
>>
>> OK.
>> But I now "demand" that xargs add a --show-quoting or whatever argument,
> 
> Your demand must be presented in the form of a patch.

Is a new option necessary, or can we just use gnulib's quotearg() module
unconditionally?  I guess the only reason to make it a new command-line
option would be to allow the user to specify which of the quotearg
styles they prefer to see (for reference, 'ls --quoting-style=WORD' is a
good example of producing various representations of the output to avoid
ambiguities).  If we do use gnulib's quotearg module, we also benefit
from QUOTING_STYLE in the environment regardless of whether we add a
command-line option.

-- 
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

[Prev in Thread] Current Thread [Next in Thread]