|
From: | Paul Eggert |
Subject: | bug#22945: Surprising behaviour (bug?) of zgrep in combination with the -f option and process substitutions |
Date: | Fri, 18 Mar 2016 00:46:25 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
Jim Meyering wrote:
Might be tricky to portably transform that NUL byte into something we can embed in a command-line-specified search string. Is there even a notation for that? I don't think so. But NUL problems aside, this also should work, requiring alternation in the regexp derived from input with two or more lines, but then we'll have to escape embedded '|' bytes, too:
How about the attached patch instead? It uses a bigger hammer, which should address both issues.
0001-zgrep-with-f-SPECIAL-read-SPECIAL-just-once.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |