Install xgrep by entering the following commands in the terminal:
sudo apt update sudo apt install xgrep
Description:
grep-like utility for XML files
xgrep provides facilities for searching content in XML files. The search is specified either as an XPath via the -x flag, or a custom syntax, including extended regular expressions, via the -s flag. Multiple input files may be specified; if none are provided, input is read from stdin.
Homepage: http://www.wohlberg.net/public/software/xml/xgrep/
Version: 0.08-0ubuntu2
Section: universe/utils