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