Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

jq yq for html

Install pup command for structuring in html format outputs into lines:
brew install pup
Then you can use pup command to split, parse or wrap html outputs:
cat file.html | pup #html is parsed into an optimally visible format
cat file.html | pup 'span#See_also' #filters span tags with See_also id
 
PREVIOUS NEXT
Tagged: #jq #yq #html
ADD COMMENT
Topic
Name
2+9 =