From owner-freebsd-net Fri Jul 21 13:49:15 2000 Delivered-To: freebsd-net@freebsd.org Received: from postal.linkfast.net (postal.linkfast.net [208.160.105.2]) by hub.freebsd.org (Postfix) with ESMTP id B254B37C0E3 for ; Fri, 21 Jul 2000 13:49:12 -0700 (PDT) (envelope-from grasshacker@linkfast.net) Received: from leviathan (gh.ws.linkfast.net [208.160.105.41]) by postal.linkfast.net (Postfix) with SMTP id A005D9B0C; Fri, 21 Jul 2000 15:49:08 -0500 (CDT) Message-ID: <009a01bff355$200d1040$2969a0d0@leviathan> From: "gh" To: "Archie Cobbs" Cc: References: <200007182353.QAA61412@bubba.whistle.com> Subject: Re: "ifconfig" == "ifconfig -a" Date: Fri, 21 Jul 2000 15:49:12 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Could one not just alias `route print` to the correct mutation of `netstat`? gh > Renaud Waldura writes: > > I hate code/functionnality duplication as much as the next guy, but having to > > call a command totally unrelated to "route" to display the routing table (ie. netstat) > > has always struck me as a gratuitous twist. > > > > I cast my vote for a "route print". > > Try "route -dvn flush". > > This prints all the routes, but you can see how ugly it is. > It would take a lot of code duplication to make it look as > nice as netstat does I think. > > -Archie > > ___________________________________________________________________________ > Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message