On Thu 24 Jul 2014 at 14:43:06 +0200, Tony van der Hoff wrote:

> How do I join this output into the purge command to save typing in each
> package name?

A=$(dpkg -l | sed  '1,5d' | grep ^rc | awk -F" " '{print $2}')

dpkg -P $A


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/24072014143730.707b2c894...@desktop.copernicus.demon.co.uk

Reply via email to