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