[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: misc zgrep patches
From: |
Paul Eggert |
Subject: |
Re: misc zgrep patches |
Date: |
Sat, 09 Dec 2006 10:48:05 -0800 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Mike Frysinger <address@hidden> writes:
> it's should be pretty easy ... find a large text file, gzip it, and then run:
> zgrep . | less
> and quickly after that hit 'q' ... your terminal should fill up with
> lovely "grep: writing output: Broken pipe" errors
I don't observe any problem with gzip 1.3.8. Do you? Here's
how I tried to reproduce it:
wget ftp://alpha.gnu.org/gnu/gzip/gzip-1.3.8.tar.gz
zgrep -a . gzip-1.3.8.tar.gz | less
I observed no problem with "Broken pipe" errors.
This is running on Debian stable x86, built with GCC 4.1.1.
I did manage to reproduce the problem by ignoring SIGPIPE in the
parent process before invoking zgrep. But that's the calling
process's screwup, not zgrep's. (And I got the same problem with
plain grep, so zgrep is compatible. :-)