See also the html-xml-utils from w3c. hxextract and hxselect perform similar extract functions. hxclean and hxnormalize (combined) will pretty-print HTML. https://www.w3.org/Tools/HTML-XML-utils/
Then I found out about jq because awscli was using it in example docs.
I guess `htmlq` makes sense if it has the exact same syntax as `jq`, and the user is already familiar with the latter?