4 ms·
Well, jq is grep as well as sed and awk, but yeah, htmlq seems to be just grep, for sake of comparison. But I don't think html has any need for a sed/awk tool,
by croon 5y ago
Well, jq is grep as well as sed and awk, but yeah, htmlq seems to be just grep, for sake of comparison.
But I don't think html has any need for a sed/awk tool, or at least not as much. Json output could very well be piped forward to the next CLI tool after you've changed it slightly with jq. I don't see this scenario as likely with html.
- gizdan 5y ago> Well, jq is grep as well as sed and awk, but yeah, htmlq seems to be just grep, for sake of comparison. Exactly, and that is what I mean. If you want to compare, compare it with grep, not jq. Someone else posted xidel[0] in this thread, which I've not used, but it seems to be the "jq but for html". [0] https://github.com/benibela/xidel https://github.com/benibela/xidel