[Top][All Lists]

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

[bug-diffutils] bug#24629: bug#24629: Make unified diff configurable def

From: Paul Eggert
Subject: [bug-diffutils] bug#24629: bug#24629: Make unified diff configurable default
Date: Thu, 6 Oct 2016 13:19:03 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

On 10/06/2016 12:48 PM, Norbert Kiesel wrote:
But we should be able to support a GNU_DIFF_FORMAT environment
variable that sets the default format, no?

It might be a good idea to change the default output format. I expect the first step would be to change 'diff' to warn on stderr if no output format option is specified; you could silence the warning with the --normal option, or by setting POSIXLY_CORRECT. This step should also document the first step (and the intent to change the default) in the usual places. After some time in some later release we could then change the default.

I'd rather not have diff's behavior depend on a new environment variable. Environment variables are a pain to get right and something like this could break security-relevant code.

reply via email to

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