More Mac Ghost
More Mac Ghost
- Subject: More Mac Ghost
- From: Phil APHS <email@hidden>
- Date: Wed, 22 Nov 2000 13:47:10 +1030
I have a file that goes like this:
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
|Business01 00:50:E4:1E:0E:15|
|Business02 00:50:E4:1E:1C:6F|
|Business03 00:50:E4:AE:0E:3D|
|Business04 00:50:E4:CE:22:4F|
|Business05 00:50:E4:1E:E4:3E|
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
This is just part of the file (the /\/\/ bit is supposed to be a torn edge
eg there is more to the file)
I need applescript to read the file and search for a string (the Ethernet
address) and return the name of the machine as the result (I may have to
reverse it eg. first the Ethernet address then the name if it would be
easier) the Ethernet address is separated from the name with a tab.
Any help would be greatly appreciated
-Phil