Although this does not answer your question, here is how to shorten the command pipe by taking advantage of awk capabilities:
dpkg --get-selections | awk '!/deinstall$/ {print $1}' -- Best regards, Jörg-Volker. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ho251o$h1...@dough.gmane.org