Top "Ack" questions

ack is a tool like grep, designed for programmers with large trees of heterogeneous source code.

How do I run programs with Strawberry Perl?

A coworker is trying to use ack (a Perl program) on his Windows machine, having tried it under Linux and …

windows perl ack strawberry-perl
ack regex: Matching two words in order in the same line

I would like to find lines in files that include two words, word_1 and word_2 in order, such as in …

regex ack
How to truncate long matching lines returned by grep or ack

I want to run ack or grep on HTML files that often have very long lines. I don't want to …

grep unix ack
Search for files & file names using silver searcher

Using Silver Searcher, how can I search for: (non-binary) files with a word or pattern AND all filenames, with a …

command-line terminal grep command-line-interface ack
grep: repetition-operator operand invalid

I have this regular express (?<=heads\/)(.*?)(?=\n) and you can see it working here http://regexr.com?347dm I …

grep ack
Escaping a parenthesis in grep/ack

I want to look for the string "methodname(", but I am unable to escape the "(". How can I get grep …

regex grep ack
ack: Excluding only one directory but keeping all others with the same name

My folder structure looks like this: /app /app/data ... /app/secondary /app/secondary/data I want to recursively search /app, …

ack
How do you exclude a specific file from ack (ack-grep)?

With the normal grep command there is an --exclude option (covered in detail here: Use grep --exclude/--include syntax to …

ack
How to do search & replace with ack in vim?

I am using the Ack plugin in Vim, which helps me to quickly search for strings in my project. However, …

search vim replace ack
How can I install and use ack library on Windows?

I have never used Perl, but I am really impressed by the ack, which I would like to use for …

windows perl ack