Re: but I don't want the Russian etc. documentation
On Tue, 08 Jul 2003 07:30:06 +0200, Dan Jacobson wrote:
> regarding "remove the rest", the pros must have a better way than the
> below, no?
>
> # dlocate -l apt-howto|tr -s \ |cut -d \ -f2|
> awk '/apt/&&!/-en/'|xargs apt-get -y --purge remove
In the fine tradition of 'go away or I shall replace you with a small
shell script', I offer this sacrifice to the winds.
for i in `dpkg --get-selections|grep apt-howto|grep -v \-en`; do
apt-get -y --purge remove $i;
done
--
Stephen Patterson http://www.lexx.uklinux.net http://patter.mine.nu
steve@SPAM.lexx.uklinux.net remove SPAM to reply
Linux Counter No: 142831 GPG Public key: 252B8B37
Last one down the pub's an MCSE
Reply to: