misc_debian_patch() { egrep -v '^#' debian/patches/series | xargs -I% patch -p1 -i debian/patches/% } misc_debian_patch_exclude() { fgrep -vx "$1" debian/patches/series > debian/patches/series.new mv debian/patches/series.new debian/patches/series }