summaryrefslogtreecommitdiff
path: root/support/lout/makediff
diff options
context:
space:
mode:
Diffstat (limited to 'support/lout/makediff')
-rw-r--r--support/lout/makediff31
1 files changed, 31 insertions, 0 deletions
diff --git a/support/lout/makediff b/support/lout/makediff
new file mode 100644
index 0000000000..1eee582531
--- /dev/null
+++ b/support/lout/makediff
@@ -0,0 +1,31 @@
+#!/bin/sh
+#
+# makediff old-version new-version
+#
+# install diff of old and new versions of Lout
+# Jeff Kingston March 2000
+#
+OLD=$1
+NEW=$2
+
+echo "installing diff from lout-${OLD} to lout-${NEW}"
+echo ""
+echo "unpacking lout-${OLD}"
+gunzip lout-${OLD}.tar.gz
+tar xf lout-${OLD}.tar
+echo ""
+echo "unpacking lout-${NEW}"
+gunzip lout-${NEW}.tar.gz
+tar xf lout-${NEW}.tar
+echo ""
+echo "diffing lout-${OLD} to lout-${NEW}"
+gnudiff -u --recursive --new-file lout-${OLD} lout-${NEW} > lout-${OLD}-to-${NEW}
+gzip lout-${OLD}-to-${NEW}
+echo ""
+echo "removing lout-${OLD} and lout-${NEW} and rezipping their tar files"
+rm -fr lout-${OLD} lout-${NEW}
+gzip lout-${OLD}.tar
+gzip lout-${NEW}.tar
+echo ""
+echo "done; here is an ls to prove it"
+ls