[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "sed --debug" feature
From: |
Assaf Gordon |
Subject: |
Re: "sed --debug" feature |
Date: |
Mon, 30 Jul 2018 22:53:02 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Hello Eric, Jim,
On 27/07/18 07:00 AM, Eric Blake wrote:
On 07/27/2018 05:28 AM, Assaf Gordon wrote:
While investigating the two recent bugs [1][2],
I developed some debugging code for sed, which makes
troubleshooting much easier.
I think it is actually fine for mainline - the number of user bugs we've
been able to identify with 'sort --debug', and more recently 'date
--debug', makes things like this worth their weight in gold.
That's a good point.
Attached is an improved patch:
- debug is always compiled (no more ./configure --enable-debugging ,
which is discouraged for gnu programs)
- debug output goes to stdout (like sort)
- added mention in the manual
comments welcomed,
- assaf
0001-sed-add-debug-feature.patch.gz
Description: application/gzip