different behaviour of `grep' and `zgrep' with `-Eh' option

2010-09-15 Thread Sidorenko, Vladimir
Hello! There is obviously a bug in `zgrep', which occurs if I supply `-Eh' option to it. Here are the steps to reproduce it: >cat | tee 1 > 2 World World World ! >cat | gzip | tee 1.gz > 2.gz World World World ! >grep -Eh World 1 2 World World World ! World World World ! >zg

Re: different behaviour of `grep' and `zgrep' with `-Eh' option

2010-09-15 Thread Paul Eggert
Thanks for reporting that problem. I installed the following patch: >From 616966609bf6f200f83aed7f02d48ef6febbea10 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 15 Sep 2010 10:55:19 -0700 Subject: [PATCH] zgrep: fix parsing of -Eh options * zgrep.in: Update list of single-letter options