aboutsummaryrefslogtreecommitdiff
path: root/pkgdiffs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgdiffs')
-rwxr-xr-xpkgdiffs10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgdiffs b/pkgdiffs
new file mode 100755
index 0000000..a2743cd
--- /dev/null
+++ b/pkgdiffs
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# pkgdiffs -- concatenate pkgdiffs
+
+[ x"$1" = "-a" ] || pkgdiff "${1%.~1~}"
+shift
+
+for f in "$@"; do
+ pkgdiff "${f%.~1~}" | sed -n '2,$p'
+done