From: "ara.t.howard" Date: 2007-07-04T06:29:23+09:00 Subject: Re: mac addr determination On Jul 3, 2007, at 3:02 PM, Robert Dober wrote: > Hmm it would help to know what this is for, as Rob pointed out > inactive interfaces might cause problems. > Given the verbose nature of ipconfig /all you will have problems with > hostnames like this > AB-AD-BA... > at least, please, get rid of A-Z in your Regexpression. > > Just some thoughts http://drawohara.tumblr.com/post/4862735 the current invocation is ok for my purposes: generating a key for encryption as "--#{ hostname }--#{ mac_address }--" but note i added a handle to the complete list to people could monkey with it if needed. cheers. -a -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama