📜  用于包装 html 的命令 - Shell-Bash 代码示例

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

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