[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22945: Surprising behaviour (bug?) of zgrep in combination with the
From: |
Jim Meyering |
Subject: |
bug#22945: Surprising behaviour (bug?) of zgrep in combination with the -f option and process substitutions |
Date: |
Tue, 15 Mar 2016 19:34:49 -0700 |
On Tue, Mar 8, 2016 at 3:42 AM, Fulvio Scapin <address@hidden> wrote:
> Hello.
>
> There is a problem with zgrep whenever the -f option actually reads from
> the output of a process substition in bash.
> A willingly trivial example below.
>
> $ mkdir /tmp/test
...
>From /bin/zgrep (Version 1.6, Ubuntu 15.10) one can read
Thank you for the report.
To summarize, with zgrep-1.6, this erroneously prints matches only
from the first file:
$ zgrep -f <(echo .) <(echo a) <(echo b)
/dev/fd/12:a
However, with the latest from git (and soon to be gzip-1.7), this now
works as desired:
$ zgrep -f <(echo .) <(echo a) <(echo b)
/dev/fd/12:a
/dev/fd/13:b
I see there is no NEWS entry for this fix and haven't yet identified
the origin of the bug or the commit that fixed it, but will do so.
- bug#22945: Surprising behaviour (bug?) of zgrep in combination with the -f option and process substitutions, Fulvio Scapin, 2016/03/08
- bug#22945: Surprising behaviour (bug?) of zgrep in combination with the -f option and process substitutions,
Jim Meyering <=
- bug#22945: Surprising behaviour (bug?) of zgrep in combination with the -f option and process substitutions, Paul Eggert, 2016/03/16
- bug#22945: Surprising behaviour (bug?) of zgrep in combination with the -f option and process substitutions, Antonio Diaz Diaz, 2016/03/17
- bug#22945: Surprising behaviour (bug?) of zgrep in combination with the -f option and process substitutions, Paul Eggert, 2016/03/17
- bug#22945: Surprising behaviour (bug?) of zgrep in combination with the -f option and process substitutions, Jim Meyering, 2016/03/17
- bug#22945: Surprising behaviour (bug?) of zgrep in combination with the -f option and process substitutions, Paul Eggert, 2016/03/18
- bug#22945: Surprising behaviour (bug?) of zgrep in combination with the -f option and process substitutions, Jim Meyering, 2016/03/18
- bug#22945: Surprising behaviour (bug?) of zgrep in combination with the -f option and process substitutions, Paul Eggert, 2016/03/18