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