Use pup to process HTML via stdin
masterpup reads HTML from stdin and prints the processed result to stdout. You can use CSS selectors to filter parts of the page and optional display functions to change the output format.
Basic Syntax:
cat index.html | pup [flags] '[selectors] [display function]'cat index.html | pup [flags] '[selectors] [display function]'