News for hackers. Stuff that matters.
Re:Show HN: Tag – instantly jump to your ag matches by tamana on Monday June 13, 2016 @12:47AM (#11891773)
Are we supposed to know what "ag" is?
Re:Show HN: Tag – instantly jump to your ag matches by x0x0 on Monday June 13, 2016 @01:54AM (#11891933)
If you haven't tried https://github.com/ggreer/the_silver_searcher yet you're missing out

The progression is grep with a ton of flags (or even find | xargs grep) -> ack -> ag.

ag is faster than ack, automatically understands .gitignore, gives you .agignore as well, and is just a really nice piece of software.

Re:Show HN: Tag – instantly jump to your ag matches by RasmusWL on Monday June 13, 2016 @07:14AM (#11892894)
ag has issues with .gitignore, as patterns are not recognized properly. The matcher that git uses cannot be included due to licensing (see https://github.com/ggreer/the_silver_searcher/pull/614).

Does seem like there is hope, as a BSD licensed version exists. My fingers are crossed that this is solved soon :)

Re:Show HN: Tag – instantly jump to your ag matches by pmontra on Monday June 13, 2016 @09:34AM (#11893694)
ag uses .agignore

I often need to search only on a subset of the files checked in git. Example, I don't search the min.js files but I need them for the deploys.

It would be nice if they could share the same format.

Re:Show HN: Tag – instantly jump to your ag matches by gitaarik on Monday June 13, 2016 @08:47AM (#11893251)
inside a git repository I would recommend using `git grep`
Re:Show HN: Tag – instantly jump to your ag matches by 0x0 on Monday June 13, 2016 @06:35AM (#11892791)
My experience with "ack" was that it seemed great for a few days and then I realized it was silently skipping searching certain files, causing hits to be suppressed, so I stopped trusting it. :-/
Re:Show HN: Tag – instantly jump to your ag matches by Semiapies on Monday June 13, 2016 @11:37AM (#11894704)
That or follow the link given with the very first mention of "ag" in TFA.