Could you give an example of something useful one could do with ack's --output feature?
The manual's a little light on the details.
All it says is:
--output=expr
Output the evaluation of expr for each line
What expression are they talking about? A regular expression? If so, how is that different from a normal grep?