[Top][All Lists]

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

bug#18427: Fwd: 'less' bug report

From: J B
Subject: bug#18427: Fwd: 'less' bug report
Date: Mon, 8 Sep 2014 19:11:40 +0200

could you please fix the 'zless' bug described.

'less' ver. 451 log;
Use exit code of LESSOPEN script if LESSOPEN starts with "||".


---------- Forwarded message ----------
From: Mark Nudelman <address@hidden>
Date: Mon, Sep 8, 2014 at 5:54 PM
Subject: Re: 'less' bug report
To: J B <address@hidden>

Hi jb,
This was fixed in less-451 with the introduction of the double pipe
syntax in LESSOPEN.  It requires your lessopen script to return the
appropriate exit code.


On 9/8/2014 7:31 AM, J B wrote:
> Hi,
> this is a bug report for 'less' entry.
> $ touch empty.txt
> $ less empty.txt
> empty.txt (END)
> $ gzip empty.txt
> $ zless empty.txt.gz
> "empty.txt.gz" may be a binary file.  See it anyway?
> The last response should be as for 'less empty.txt'.
> According to Peter Selinger, author of ccrypt utilities:
> "The problem is that less, when using an input filter, regards an empty
> file
> as a condition indicating "filtering unsuccessful", and will just show
> the unfiltered file instead."
> This 'less' behavior causes a problem for other utilities as well.
> jb

reply via email to

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