From owner-cvs-all Mon Jan 25 23:06:06 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA16876 for cvs-all-outgoing; Mon, 25 Jan 1999 23:06:06 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA16792; Mon, 25 Jan 1999 23:06:00 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 2.10 #1) id 1052ZI-00043B-00; Tue, 26 Jan 1999 09:05:48 +0200 From: Sheldon Hearn To: Bill Fenner cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_mib.c In-reply-to: Your message of "Mon, 25 Jan 1999 22:54:23 PST." <199901260654.WAA27261@mango.parc.xerox.com> Date: Tue, 26 Jan 1999 09:05:48 +0200 Message-ID: <15570.917334348@axl.noc.iafrica.com> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Mon, 25 Jan 1999 22:54:23 PST, Bill Fenner wrote: > Which mac address? Several of my machines have at least 2 (and some > have none). Since test(1) is in /bin, you could determine whichever one is "greater" as a string. Assuming this script gets all your MACs passed as arguments: $rcmac = $1 shift while [ X"$1" != X"" ] ; do if [ X"$1" -gt X"mac" ] ; then rcmac=$1 fi shift done Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message