On Tue, Mar 8, 2016 at 3:42 AM, Fulvio Scapin <trantorv...@gmail.com> 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.