bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] bootstrap: use a more consistent error reporting scheme.


From: Jim Meyering
Subject: Re: [PATCH] bootstrap: use a more consistent error reporting scheme.
Date: Tue, 10 Jul 2012 12:05:55 +0200

Akim Demaille wrote:

> Le 10 juil. 2012 à 10:14, Jim Meyering a écrit :
>
>>> +  case $* in
>>> +    *$nl*) me_=$(printf "$me"|tr "$nl|" '??')
>>
>> Is it worth testing for both $nl and '|' ?
>
> I tried to keep what you did about $nl in $me (it would break
> the sed command).  I used printf, since the \n from echo gave
> a spurious ? at the end of $me.

I meant "is it worth *also* testing for '|' there"?
E.g., if $me contains '|', but no newline.
Definitely not a big issue.



reply via email to

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