pup get text from tag code example
Example: pup command example
You can use pup command to split, parse or wrap html outputs as follows:
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