From 9aca299a044da7255b43dc3eaa273626a71d3d5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sat, 17 Jul 2021 22:51:22 +0200 Subject: Add pkgdiffs script --- Makefile | 2 +- pkgdiffs | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100755 pkgdiffs diff --git a/Makefile b/Makefile index 949d8e2..de49dcc 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,2 @@ install: - install conv undopatch /usr/local/bin + install conv pkgdiffs undopatch /usr/local/bin 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 -- cgit v1.2.3