#!/bin/sh
# Booyah another fantabulous script from grifter okt 2k3
#
# Requires: Debian - it will love you for it!
#
# When you apt-get remove packages, they will stink up
# your dpkg -l list with rc entries (confs remain).
# 


for i in $( COLUMNS=140 dpkg -l | tail +6 | grep rc | grep -v ii | cut -c 3-34 ); do
dpkg -P $i
done

