Mercurial > hg > paul
view bin/xmlDiff @ 1:95740c6658a3
from Meg
| author | Henry S. Thompson <ht@inf.ed.ac.uk> |
|---|---|
| date | Wed, 10 Jun 2026 13:04:44 +0100 |
| parents | 2aa53823fb21 |
| children |
line wrap: on
line source
#!/bin/sh # trivial normalise-and-compare sw= while : do case "$1" in -p) f=-w ; shift ;; -?*) sw=$1 ; shift ;; *) break ;; esac done normXML $f "$1" > /tmp/xd$$ normXML $f "$2" | diff $sw /tmp/xd$$ - rm /tmp/xd$$
