by gonzus · 6y ago · 0 comments
ls -l /usr/bin | jc --ls | jq '.[] | select(.size > 50000000)'-rwxr-xr-x 1 root root 51859776 Jan 26 2018 pandoc
IMO people have been trying to do the same thing with these tools since they were invented. Better to learn how to use them the way they were intended before reinventing them.
Edit: re-read my comment. Seems a little negative. Sorry. To be clear, I think the jc/jq approach is much better than the roll-your-own parser in shell approach.