ack
Diagnosing a slow grep or ack search through a complex directory (code, files, php scripts, etc) for faster repeated use
I\'m using ack (sometimes distributed as ack-grep) to search through a complex directory of code, images, who knows what else, and it\'s reacting pretty slowly.How can I diagnose what it is searching[详细]
2023-02-22 19:59 分类:问答How to ignore search through test files
I am using ack and I want to avoid searching through any file which has name test. How do I do that? Following ensures that onl开发者_JS百科y search through files or directory with name test. I want[详细]
2023-02-22 08:41 分类:问答Is it possible to add a -G option to ~/.ackrc
When I do ack -G \"^.*$\" \"foo\" I get results... but when I put -G \"^.*$\" or -G=\"^.*$\" or -G \"^.*$\" in my `~/.ackrc/ I get no results... Does anyone know if 开发者_如何转开发-G can[详细]
2023-02-20 03:51 分类:问答How to make ack include .conf files?
How to configure ack (sometime开发者_Go百科s distributed as ack-grep) to always include .conf files into search?Add the following to your .ackrc file:[详细]
2023-02-14 18:51 分类:问答Getting ack to search through .htaccess or other dotfiles
Is there any way to get ack to search through a file whose filename starts with a . (e.g. .htaccess), without resorting to the --all or --unrestricted options?[详细]
2023-02-06 02:46 分类:问答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 methodname( *[详细]
2023-02-05 19:37 分类:问答Add SCons files to ack searches
I love t开发者_JAVA百科he code search utility ack. It is smart enough to look through Makefiles, but doesn\'t know about the SConstruct and SConscript files that scons uses. How do I add those to the[详细]
2023-02-01 18:13 分类:问答How to use named regex groups in ack output?
Suppose I have a foo.txt file with the following content: [2010-11-13 12:00:02,656] [2010-11-13 12:00:02,701][详细]
2023-01-25 17:18 分类:问答How to let ack support more filetypes?
in ack\'s home page, there lists a lot of file type, but without aspx, is it possible to let ack support 开发者_Go百科it?On window,add .ackrc file under C:\\Documents and Settings\\yourname,with conte[详细]
2023-01-19 08:36 分类:问答ack-grep: chars escaping
My goal is to find all \"<?=\" occurrences with ack. How can I开发者_如何学C do that? ack \"<?=\"[详细]
2023-01-03 20:14 分类:问答