News for hackers. Stuff that matters.
Re:Show HN: Grep with colours written in Go by arsham on Wednesday June 06, 2018 @09:36AM (#17247026)
So far I've been only concerned about code's simplicity until I understand what there needs to be done. This is not going to be grep or ripgrep. My intent was to make a tool I needed so I started working on it. I thought someone else might like it, now it is joyful to see people are looking at the project.

There are a couple of places I wish I would have done better. Using bufio.Scanner actually bothers me a lot. Also in the Read() method it reads everything from all readers into a buffer instead of pulling what it needs to check.

Thanks for suggestions :)

There are no comments on this comment yet.