Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Token-Ring MAC-Address

by rob_au (Abbot)
on May 18, 2004 at 00:14 UTC ( #354135=note: print w/ replies, xml ) Need Help??


in reply to Token-Ring MAC-Address

A one-line version ...

perl -le 'print join "-", map { y/0123456789ABCDEFabcdef/084C2A6E195D3 +B7F5D3B7F/; $_ = reverse } split /-/, $ARGV[0]' xx-xx-xx-xx-xx-xx

 

perl -le "print unpack'N', pack'B32', '00000000000000000000001011011010'"


Comment on Re: Token-Ring MAC-Address
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://354135]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2014-07-22 08:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (106 votes), past polls