rdpate

Results 9 comments of rdpate

Related test case for above notes 1-2: ``` $ ls # start with empty directory $ echo abcd | ack b. --nofilter # nothing, as expected $ echo xbyz >./-...

Also, I got around this bug by redirecting ack's stdin from /dev/null, since it doesn't need stdin and it just happened to be a pipe in what I was doing.

I was abusing ack to parse per-project .ackrc files and for its other file type ignoring, but I needed to include directories as well: ``` find -mindepth 1 -maxdepth 1...

> Regarding the list of directories to search feature, it sounds a lot like beyondgrep/ack2#310. Is that what you had in mind? No, I was thinking more like: ``` $...

> Seems to me that perhaps the core problem here is that ack doesn't throw a warning if it's sent data on STDIN and called with -f. I can't see...

In the process of exploring this issue, I found beyondgrep/ack3#270. > I think that if you do... You're asking for trouble. I only did that to illustrate the difference when...

Another option to the three for expected behavior I listed above: use the presence/absence of --[no]filter to determine what to do. Specifically: - `echo abcd | ack b. file` -...

> I'd like to try my hand at implementing this. Twelve hours later... at least I know some perl now. :) Please let me know if I wrote non-idiomatic code,...

There are two purposes: (1) efficiency, being considerably faster to display dirty-or-clean, depending on repo size and modifications, with "hg identify" than storing the full "hg status" for grep, and...