GNU bug report logs - #18427
Fwd: 'less' bug report

Previous Next

Package: gzip;

Reported by: J B <jb.1234abcd <at> gmail.com>

Date: Mon, 8 Sep 2014 17:18:01 UTC

Severity: normal

Merged with 16951

To reply to this bug, email your comments to 18427 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gzip <at> gnu.org:
bug#18427; Package gzip. (Mon, 08 Sep 2014 17:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to J B <jb.1234abcd <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gzip <at> gnu.org. (Mon, 08 Sep 2014 17:18:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: J B <jb.1234abcd <at> gmail.com>
To: bug-gzip <at> gnu.org
Cc: selinger <at> users.sf.net
Subject: Fwd: 'less' bug report
Date: Mon, 8 Sep 2014 19:11:40 +0200
[Message part 1 (text/plain, inline)]
Hi,
could you please fix the 'zless' bug described.

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

Thanks,
jb


---------- Forwarded message ----------
From: Mark Nudelman <markn <at> greenwoodsoftware.com>
Date: Mon, Sep 8, 2014 at 5:54 PM
Subject: Re: 'less' bug report
To: J B <jb.1234abcd <at> gmail.com>


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.

--Mark

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
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gzip <at> gnu.org:
bug#18427; Package gzip. (Mon, 08 Sep 2014 21:16:01 GMT) Full text and rfc822 format available.

Message #8 received at 18427 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: J B <jb.1234abcd <at> gmail.com>, 18427 <at> debbugs.gnu.org
Cc: selinger <at> users.sf.net
Subject: Re: bug#18427: Fwd: 'less' bug report
Date: Mon, 08 Sep 2014 14:15:11 -0700
This appears to be a duplicate of Bug#16951, which should mean that your 
test should work in the next gzip release but some related bugs remain.  
Please see:

http://bugs.gnu.org/16951




Merged 16951 18427. Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Mon, 08 Sep 2014 21:17:02 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 328 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.