
6 Dec
2021
6 Dec
'21
8:48 p.m.
Hi all, I know of "xmldiff" and "jsondiff" to compare XML or JSON files. But, they don't allow me to exclude certain node or keyword. Do you know any command line program that does that, in one-shot? If not, then I have to resort to 1. For JSON, use 'jq' to remove keyword, and then compare. 2. For XML, use 'xmlstarlet' to remove node, and then compare. --William