From: W. Trevor King Date: Fri, 1 Jul 2011 18:51:07 +0000 (-0400) Subject: Use generic filenames in the Gramps-diff example. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3a053e44190bb8a95e2b68bc51d3c969305ccbda;p=blog.git Use generic filenames in the Gramps-diff example. --- diff --git a/posts/XSLT.mdwn b/posts/XSLT.mdwn index 03b4731..0ba89e9 100644 --- a/posts/XSLT.mdwn +++ b/posts/XSLT.mdwn @@ -48,8 +48,8 @@ With the above saved as `sort-by-id.xsl`, you can sort `some.xml` using You can compare two [[Gramps]] XML files with - $ diff -u <(zcat wtk_2011-06-30b.gramps | xsltproc --nonet --novalid sort-by-id.xsl -) - <(zcat wtk_2011-06-30d.gramps | xsltproc --nonet --novalid sort-by-id.xsl -) | less + $ diff -u <(zcat a.gramps | xsltproc --nonet --novalid sort-by-id.xsl -) + <(zcat b.gramps | xsltproc --nonet --novalid sort-by-id.xsl -) | less Jesper Tverskov has a nice page about [the identity template and related tricks][identity] if you want more examples of quasi-copy