aboutsummaryrefslogtreecommitdiff
path: root/bin/pkgdiffs
blob: e39d5a04986b1eae5bdbae4f99212ee0a614b84d (plain)
1
2
3
4
5
6
7
8
9
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