
7 Dec
2021
7 Dec
'21
12:09 a.m.
you can use powershell for Linux. this capability is built in On Mon, Dec 6, 2021 at 3:48 PM William Park via talk <talk@gtalug.org> wrote:
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 --- Post to this mailing list talk@gtalug.org Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk