GNU bug report logs - #22945
Surprising behaviour (bug?) of zgrep in combination with the -f option and process substitutions

Previous Next

Package: gzip;

Reported by: Fulvio Scapin <trantorvega <at> gmail.com>

Date: Tue, 8 Mar 2016 16:33:03 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


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

From: Antonio Diaz Diaz <antonio <at> gnu.org>
To: 22945 <at> debbugs.gnu.org
Cc: Fulvio Scapin <trantorvega <at> gmail.com>
Subject: Re: bug#22945: Surprising behaviour (bug?) of zgrep in combination
 with	the -f option and process substitutions
Date: Thu, 17 Mar 2016 17:39:24 +0100
Paul Eggert wrote:
> Draft gzip 1.7 doesn't work for me (Fedora 23 x86-64). I have worked on 
> a patch but don't have a reliable fix yet, or even a portable test case 
> to illustrate the bug. Perhaps we should just think of it as a known bug 
> for now.

What about using command substitution with '-e' instead of process 
substitution with '-f'?

  zgrep -e "$(cat FILE)" file1.lz file2.gz


Best regards,
Antonio.




This bug report was last modified 9 years and 127 days ago.

Previous Next


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