ack Questions

2

Solved

I have a problem with using ack-grep with a negative look ahead. I am running this command: ack-grep "paypal_responded(?!_at)" but I am getting the error: bash: !_at: event not found I have ...
Gutter asked 5/12, 2011 at 12:3

1

Solved

I'm trying to find a way to grep -o "somepattern" which gives me something like html/file.js 2:somepattern 5:somepattern but what would be really nice is to have a few characters (maybe 20) be...
Rightist asked 12/11, 2011 at 0:34

1

Solved

I'm using Vim + Ack.Vim and am flummoxed on how to ignore hits within Jquery files. I've got an .ackrc file defined (see below), but I'm stabbing in the dark. --type-add=ruby=.haml,.rake,.rsel,.bu...
Trull asked 17/10, 2011 at 16:42

1

Solved

I'd like to get my .ackrc configured so ack doesn't look inside my test/coverage folder. So far I've ended up with this : --ignore-dir=coverage This works, but it doesn't feel quite as right as :...
ack
Raving asked 14/10, 2011 at 9:42

4

Solved

I'm sure I'm misunderstanding something about ack's file/directory ignore defaults, but perhaps somebody could shed some light on this for me: mbuck$ grep logout -R app/views/ Binary file app/view...
Wordbook asked 14/6, 2010 at 16:29

1

Solved

I'm not sure what it's for, but the code I'm working on has a bunch of folders called "save.d," it looks like they're used for some sort of version control (we also have .svn folders). How can I u...
ack
Mikelmikell asked 20/9, 2011 at 17:54

1

Solved

I am trying to use ack-is-better-than-grep (ack) with regular expressions to find lines and snippets in my code repository. My understanding is that ack uses Perl-derivative regular expressions, is...
Yoghurt asked 18/7, 2011 at 19:9

1

Solved

Is it possible (and how) to chain patterns with ack (ack-grep on some distributions of Linux) like I'm used to with grep? e.g. grep "foo" somefile.c | grep -v "bar" ...to match all lines with ...
Solifluction asked 31/5, 2011 at 14:12

1

Solved

I would like to find lines in files that include two words, word_1 and word_2 in order, such as in Line A below, but not as in Line B or Line C: Line A: ... word_1 .... word_2 .... Line B: ... wo...
Heather asked 9/4, 2011 at 20:42

1

Solved

How to configure ack (sometimes distributed as ack-grep) to always include .conf files into search?
Crenel asked 3/3, 2011 at 11:52

2

Solved

I want to look for the string "methodname(", but I am unable to escape the "(". How can I get grep methodname( * or ack-grep methodname( * to work?
Bouffard asked 21/1, 2011 at 16:32

1

Solved

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] [2010-11-13 12:00:02,902] When I ack for the date portion with the following, it wor...
Odiliaodille asked 19/11, 2010 at 6:43

2

Solved

in ack's home page, there lists a lot of file type, but without aspx, is it possible to let ack support it?
ack
Rawdan asked 6/10, 2010 at 8:19

© 2022 - 2024 — McMap. All rights reserved.