Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the ack CPAN distribution.

Maintainer(s)' notes

ack's issues are tracked at https://github.com/petdance/ack2

Report information
The Basics
Id: 28654
Status: rejected
Priority: 0/
Queue: ack

People
Owner: Nobody in particular
Requestors: cjm [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.64
Fixed in: (no value)



Subject: Want --txt filetype
I see you've added a --text type, but it's just a catch-all for everything that isn't --binary. As such, it's turned off by default. I think ack needs a --txt type, which would be turned on by default. This would match .txt files, plus certain magic filenames like README*, INSTALL, NEWS*, Changes*, BUGS, TODO, etc. I'll send a patch if you're willing to merge it.
Subject: Re: [rt.cpan.org #28654] Want --txt filetype
Date: Fri, 3 Aug 2007 15:34:53 -0500
To: bug-ack [...] rt.cpan.org
From: Andy Lester <andy [...] petdance.com>
Show quoted text
> > I see you've added a --text type, but it's just a catch-all for > everything that isn't --binary. As such, it's turned off by default. > > I think ack needs a --txt type, which would be turned on by default. > This would match .txt files, plus certain magic filenames like > README*, > INSTALL, NEWS*, Changes*, BUGS, TODO, etc. > > I'll send a patch if you're willing to merge it. >
Please post your suggestion to the ack-users list for public discussion. I have concerns, but would rather discuss them in a public forum where many can see and comment. Thanks, xoxo, Andy -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance