Hacker News new | ask | show | jobs
by quasilyte 2355 days ago
You might be interested in https://github.com/mvdan/gogrep/issues/32#issuecomment-56866...

When gogrep becomes more usable as a library, it would be easier to write such Go programs easier.

As for the alternative formats, I experimented with JSON, TOML and some custom format that is even terser. It wasn't an easy choice, but I'm pretty comfortable with the result. That being said, there could be a several input formats in the future.