Andy Lester

Results 496 comments of Andy Lester

Thing is that there can be multiple .ackrc files. And even if there's only one, there's no rule that says it has to be in the root of the project....

How are you calling ack? Please give an exact command line you're using. Also, do you have an .ackrc file somewhere? Chances are, you're adding `--color` to the command line...

If you add the `--color` option, then you will get color codes in your output, even if you are redirecting to a file. By default, ack will output color codes...

I'm not able to reproduce this myself, so we'll have to do a little bit of digging. First, I'm also not on Windows. It's also strange that the line 276,...

Yes, I don't want to just switch the `require` to `use`, but as OP mentioned in his initial email to me, he doesn't really know Perl so I didn't want...

Bump. This would be nice to close if it's something I can easily address.

Let's simplify this a bit: ``` $ ack 's*' test.txt 1 file found? 2 files found? 24 files found? No files found. ``` None of the results lines are colored....

Say more about how you would use this. What's the use case for reading the pattern from a file? What are you doing now to achieve this functionality?

Is this something you'd be using from a script, or as part of an interactive session? Would `ack --pattern-from-file patterns.txt` basically do an OR for all the patterns that it...