coreutils
[Top][All Lists]
Advanced

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

Re: quoting of strings in errors


From: Pádraig Brady
Subject: Re: quoting of strings in errors
Date: Wed, 28 Oct 2015 13:18:53 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 27/10/15 17:27, Pádraig Brady wrote:
> On 26/10/15 02:43, Pádraig Brady wrote:
>> I noticed there are lots of cases of unquoted output,
>> so as a follow up I intend to push a change
>> that satisfies the following "syntax check":
>>
>>   git grep 'error (.*%s.*, [^(]*);$' src | grep -v quote
> 
> Pushed at
> http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=6796698

Attached is a follow up to remove most uses of quotearg_colon(),
as that doesn't quote by default, causing issues with for example:

  seq 10 | shuf --random-source="blah"$'\r'
  seq 10 | shuf --random-source="bl:ah"

cheers,
Pádraig

Attachment: coreutils-quotearg.patch
Description: Text Data


reply via email to

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