zgrep: do not assume GNU expr
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 15 Aug 2012 03:43:16 +0000 (20:43 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 15 Aug 2012 03:43:56 +0000 (20:43 -0700)
commit953e93ec52c660d5c3ef91f8ab463aa1be965b38
tree5bde37fe33adf8d900b3544b290d93d30afdbe9d
parent700e1f0a086f463317397c7fbdc1e929edf27ffe
zgrep: do not assume GNU expr

* zgrep.in: Do not assume '\+' has the GNU behavior in the BRE
given to 'expr', as POSIX does not guarantee that.  Come to think
of it, use a shell pattern rather than 'expr', as this is more
efficient.
zgrep.in