Cool utilities: ack

Working with subversion I’ve had a bit trouble making project wide search and replaces. find -name '*.pm' | xargs perl 's/foo/bar/g' breaks a subversion working copy in not so subtle ways and grep’ing returns duplicate results. I gave up making the correct find statement in five minutes and installed ack. What a useful utility.

Marc-André Lureau has ITP’ed it and it’s dependencies but hasn’t got anything uploaded yet. I offered to sponsor but havn’t recieved a respons yet and I’m impatient so I’ve rolled out my own packages, renaming ack to ack-grep to avoid name clashes with the existing ack package.

Either download ack-grep_1.66-1_all.deb and libfile-next-perl_1.00-1_all.deb or use the following in you sources.list:

deb http://hacking.dk/debs sid main
deb-src http://hacking.dk/debs sid main

Still willing to either sponsor or maintaining the package myself.

3 Comments »

  1. Cyril Brulebois said,

    September 24, 2007 @ 9:55 pm

    Sounds very interesting but: “Ack is designed as a replacement for 99% of the uses of grep.”

    It doesn’t support either -r or -I, which is quite annoying…

    Looking forward to having it inside Debian anyway. Thanks. ;)

  2. Andy Lester said,

    September 30, 2007 @ 6:04 pm

    -r is on by default. It does indeed support -l.

  3. peter.makholm.net » ack-grep uploaded and entering Debian Perl Group said,

    October 9, 2007 @ 7:09 pm

    [...] day before yesterday I uploaded ack to Debian Unstable. Currently it is awaiting the ftp-masters acceptance. Due to a name confilct [...]

RSS feed for comments on this post · TrackBack URI

Leave a Comment