What is “xml2” Package?

Makes XML and HTML more amenable to classic UNIX text tools
For more details: https://web.archive.org/web/20160730094113/www.ofb.net/~egnor/xml2/

Installation

  • Open Terminal by pressing command+space then type terminal and hit Enter key.
  • Install homebrew first.
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  • Install xml2.
    brew install xml2

Now, use xml2!