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

I think at least two people in the thread pointed out that you can use /dev/stdin as a file.


That’s a cumbersome extra step for unclear benefit.

Yes, q is supposedly faster than jq. But it is exceedingly rare for me to ever have any performance problems with jq, especially since it’s essentially a one off utility I use occasionally, not as part of the hot loop of any workflow where performance matters.


In that case I suppose you wouldn't use it.


It's more than a little strange that isn't default behavior out of the box without specifying input. How do the authors think jq is used?


I trend to use jq with a file all the time, I prefer to curl first and later operate on top. /slug


I'm pretty sure the author has also replied elsewhere saying he will add it since it was brought up as a concern.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: