[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21760: timeout: Feature Request: --verbose ==> output if timeout
From: |
Pádraig Brady |
Subject: |
bug#21760: timeout: Feature Request: --verbose ==> output if timeout |
Date: |
Tue, 28 Nov 2017 02:03:27 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 27/11/17 16:06, Bernhard Voelker wrote:
> On 11/27/2017 07:21 PM, Pádraig Brady wrote:
>> Blush. Please apply.
>
> Thanks, pushed.
>
>>> BTW: what do you think about a new syntax-check rule to verify that
>>> all options in usage are actually supported?
>>> Some of the option checks for some utilities might become complicated,
>>> but maybe still worth ...
>>
>> I've caught this particular issue myself in a couple of patches from others,
>> so I'll write a syntax check later today hopefully.
>
> I've also played a bit ... and it turned out to become a regular
> test instead of a syntax-check rule.
> It's a draft, and I only tested here on openSUSE:Tumbleweed,
> but at least it seems to be a good start. Maybe it should be
> marked as expensive.
Cool stuff. This correlates a lot of things.
It's not that expensive really.
Takes about 9s on my oldish laptop.
This would be the first real use of awk
(I notice one other test using gawk which I'll change to using something else).
Attached is a diff to change to using sed.
Also it simplifies the subsequent sed calls to avoid the separate cases.
thanks!
Pádraig
getopt-sed.diff
Description: Text Data
- bug#21760: timeout: Feature Request: --verbose ==> output if timeout, Pádraig Brady, 2017/11/23
- bug#21760: timeout: Feature Request: --verbose ==> output if timeout, Jim Meyering, 2017/11/23
- bug#21760: timeout: Feature Request: --verbose ==> output if timeout, Pádraig Brady, 2017/11/23
- bug#21760: timeout: Feature Request: --verbose ==> output if timeout, Bernhard Voelker, 2017/11/27
- bug#21760: timeout: Feature Request: --verbose ==> output if timeout, Pádraig Brady, 2017/11/27
- bug#21760: timeout: Feature Request: --verbose ==> output if timeout, Bernhard Voelker, 2017/11/27
- bug#21760: timeout: Feature Request: --verbose ==> output if timeout,
Pádraig Brady <=
- bug#21760: timeout: Feature Request: --verbose ==> output if timeout, Bernhard Voelker, 2017/11/28
- bug#21760: timeout: Feature Request: --verbose ==> output if timeout, Pádraig Brady, 2017/11/29
- bug#21760: timeout: Feature Request: --verbose ==> output if timeout, Bernhard Voelker, 2017/11/29