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

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to