On 2014-06-11 Pavel Raiskup wrote: > Hi, in RHBZ, there was reported problem with xzgrep, we should exit 0 > when at lest one file contains matching string. Grep behaves > similarly. > > Original bugreport: > https://bugzilla.redhat.com/show_bug.cgi?id=1108085
Thanks. I fixed a typo a in a comment in xzgrep (>=2 instead of >2) and simplified the test quite a bit. The original test didn't work for out-of-tree builds and there was a typo (exho). The new test doesn't test as much but I didn't quickly see a good fix for it. -- Lasse Collin | IRC: Larhzu @ IRCnet & Freenode