|
From: | Paul Eggert |
Subject: | bug#29648: BUG in zless and similar scripts? |
Date: | Tue, 12 Dec 2017 16:58:26 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
On 12/10/2017 01:26 AM, Michele Venturi wrote:
As you can see here:https://pastebin.com/Q7fcrYhp there is an error in the parameters expansion syntax. It should be "${LESSMETACHARS:+set}" and not just "${LESSMETACHARS+set}". zdiff, zgrep and zmore miss a colon in the source code in the same way.
Why is this a bug? I don't see the problem. Can you give an example of misbehavior because of the bug?
Perhaps the simplest fix for the bug, once we know what it is, would be to remove the workaround for less 394 and earlier, as I doubt whether anyone would combine a 'less' that old with new 'gzip'.
[Prev in Thread] | Current Thread | [Next in Thread] |