Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 meditating upon the Monastery: (9)
As of 2014-12-22 23:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (133 votes), past polls