Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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'"

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 drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2019-06-26 00:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Is there a future for codeless software?



    Results (108 votes). Check out past polls.

    Notices?