On Mon, Oct 07, 2002 at 10:26:48PM +0100, Paul Makepeace wrote: > On Mon, Oct 07, 2002 at 10:00:24PM +0100, Chris Benson wrote: > > Hi, within the last few weeks I've seen a nice bit of code to format > > irregular 0:2:7E:4:7:0 style MAC addresses into standard 00027E6437C0 > > ones. > > I'm not sure where the 6, 3 and C come in those last three high nybbles.
Whoops EBADEXAMPLE > A simple reformatting might look like, > s|\b(\w)\b|0$1|g; tr|:||d Ah, that wasn't what I was looking for, but will be useful. Thanks -- Chris Benson