Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's not all one might want to do the structured out.

Think of converting to HTML, as one example.



ripgrep does have a JSON output mode, if you're curious.

Of course, ripgrep handles coloring like GNU grep does.


lsusb | grep --color=always Linux | aha > grepped.html




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: