Some developer tools with CLI for processing XML, XHTML, HTML, JSON, YAML, etc.
XML
- xsh (perl - Choroba)
- cpm XML::XSH2
- xsh -P file.xml
- ls
- help ls
- help | less
- <TAB> autocompletion
- xmllint
- xmllint --xpath "//foo" file.xml
- xmllint --shell file.xml
- xmltarlet
- xq (golang - sibprogrammer)
- apt-get install xq
- xq (python - jeffbr13)
- pip install xq
JSON
- jq
- cat file.json | jq . # format
- cat file.json | jq '.[]' # extract array
Search
- fzf
- ripgrep
- ag
- ack
- Doesn't search "binary" files by default
- vim - for searching files