From owner-freebsd-questions@FreeBSD.ORG Wed Aug 24 10:19:47 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E251116A41F for ; Wed, 24 Aug 2005 10:19:47 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out3.blueyonder.co.uk (smtp-out3.blueyonder.co.uk [195.188.213.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E25C43D49 for ; Wed, 24 Aug 2005 10:19:46 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [82.41.37.55] ([82.41.37.55]) by smtp-out3.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Wed, 24 Aug 2005 11:20:32 +0100 Message-ID: <430C49C0.5080503@dial.pipex.com> Date: Wed, 24 Aug 2005 11:19:44 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.8) Gecko/20050530 X-Accept-Language: en, en-us, pl MIME-Version: 1.0 To: bob self References: <430B1171.8010308@charter.net> <20050823220253.GA93345@xor.obsecurity.org> In-Reply-To: <20050823220253.GA93345@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 24 Aug 2005 10:20:32.0115 (UTC) FILETIME=[7547A430:01C5A895] Cc: freebsd-questions@freebsd.org Subject: Re: portsdb -Uu duplicate entry warnings X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2005 10:19:48 -0000 Kris Kennaway wrote: >On Tue, Aug 23, 2005 at 08:07:13AM -0400, bob self wrote: > > >>I've been told that these messages are not a problem. But I do think that >>they >>are warnings. How can I get rid of these warnings? >> >> > >You don't, they're not a problem. If you really don't want to see >them, I recommend closing your eyes while running the command :-). > > > >>Warning: Duplicate INDEX entry: freeciv-gtk2-2.0.2 >>Warning: Duplicate INDEX entry: mod_frontpage2-5.0.2.2635 >>Warning: Duplicate INDEX entry: mod_jk2-apache2-2.0.4 >>Warning: Duplicate INDEX entry: mod_rpaf-ap2-0.5 >> >>I get these after running 'portsdb -Uu >> >>I've searched the archives but haven't found the solution. >> For (t)csh: alias portsdb 'portsdb \!:* |& egrep -v "Warning: Duplicate INDEX"' (that's " then ' at the end) For (ba)sh I think it's: alias portsdb='portsdb "$@" 2>&1 | egrep -v "Warning: Duplicate INDEX"' This is the power of Unix. Use it. --Alex