Date: Tue, 26 Jan 1999 09:05:48 +0200 From: Sheldon Hearn <axl@iafrica.com> To: Bill Fenner <fenner@parc.xerox.com> Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_mib.c Message-ID: <15570.917334348@axl.noc.iafrica.com> In-Reply-To: Your message of "Mon, 25 Jan 1999 22:54:23 PST." <199901260654.WAA27261@mango.parc.xerox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15570.917334348>