bug-groff
[Top][All Lists]
Advanced

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

Re: [bug #62776] [troff] want "style" warning category for self-deceptiv


From: Alejandro Colomar
Subject: Re: [bug #62776] [troff] want "style" warning category for self-deceptive inputs
Date: Tue, 2 May 2023 01:21:34 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

Hi Bjarni, Dave,

On 5/2/23 01:15, Alejandro Colomar wrote:
> Follow-up Comment #13, bug #62776 (project groff):
> 
> 
> [comment #12 comment #12:]
>>
>> [comment #10 comment #10:]
>> [...]
>>
>> N.B.  Your text lines are unnecessary long.
>>
>>   When deleting lines from output, (one) "sed -e '/<regex>/d' [...]" is

I forgot to mention that I have several grep lines for cosmetic reasons.
I know that I could use -e, but then alignment wouldn't be as nice.
However, using -f I can have a one liner, so we'll both be happy :).

>> simpler than (many) "grep -v ... || : ...
> 
> I still need the ||: to ignore the exit status of mandoc(1), since I don't
> want to fail for messages that I later filter out.  I only want to fail,
> if there's any remaining byte in stderr after my filtering takes place;
> thus, the last grep ^ >&2.
> 

And this convinced me that Dave was right when he said that this isn't
exactly what one would call "easy".  :)

Cheers,
Alex

-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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