diff options
author | John Ankarström <john@ankarstrom.se> | 2021-07-17 22:51:22 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-07-17 22:51:37 +0200 |
commit | 9aca299a044da7255b43dc3eaa273626a71d3d5a (patch) | |
tree | f0e8e662c6aa61e2367f027fc44a1e5e7d9658e9 /pkgdiffs | |
parent | c41c1869ff84ebff17c9fc5f4af2dcd9410ea1b2 (diff) | |
download | patches-9aca299a044da7255b43dc3eaa273626a71d3d5a.tar.gz |
Add pkgdiffs script
Diffstat (limited to 'pkgdiffs')
-rwxr-xr-x | pkgdiffs | 10 |
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 |