📜  jq yq for html - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:42.794000             🧑  作者: Mango

代码示例2
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