Subject: | [PATCH] -h does not suppress filenames when used with -c |
Date: | Sun, 19 Nov 2006 13:09:58 -0500 |
To: | bug-ack [...] rt.cpan.org |
From: | Rick Scott <rick [...] shadowspar.dyndns.org> |
Hi Andy,
ack still emits filenames when used with -ch, even though -h should
suppress them:
Show quoted text
shadow> ack -ac foo *.txt
ack.txt:1
hackathon.txt:1
rickstatus.txt:1
wiki-contrib.txt:0
Show quoted textshadow> ack -ach foo *.txt
ack.txt:1
hackathon.txt:1
rickstatus.txt:1
wiki-contrib.txt:0
Show quoted textshadow> grep -ch foo *.txt
1
1
1
0
One-line patch attached.
Cheers,
Rick
--
key CF8F8A75 / print C5C1 F87D 5056 D2C0 D5CE D58F 970F 04D1 CF8F 8A75
And the band played on / as the helicopters whirred /
Drunk on the lawn / in a nuclear dawn / my senses finally blurred.
:Moxy Fruvous
Message body is not shown because sender requested not to inline it.