Re: missing the boat



"Michael De Tomaso" <mdetomaso@xxxxxxxxxx> wrote in news:9zPce.15457
$R46.3867@xxxxxxxxxxxxxxxxxxxx:

>
> Q: given a text file: "arp.txt" as follows:
....
> D:\study\perl\WIP>type arp.txt
>
> Interface: 192.168.1.100 --- 0x2
> Internet Address Physical Address Type
>
> 192.168.1.107 00-01-02-7c-94-47 dynamic
> 192.168.1.109 00-50-ba-a2-90-86 dynamic

....

> #!perl -w
>
> print "where is mdtFRIENDS:\n";
> print `grep "00\-50\-ba\-a2\-90\-86" arp.txt`;
>
> print "test over\n";
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
> Q: why don't get the line with the mac address on the screen?

I don't know. It works on my system, although I do not see the point of
the exercise. If you are just going to use perl to spawn grep, why not
just grep in the first place?

> D:\study\perl\WIP>grep "00\-50\-ba\-a2\-90\-86" arp.txt
> 192.168.1.109 00-50-ba-a2-90-86 dynamic

Good for you.

> Q: where am I missing the boat???

By mispelling the word tomato, doing it in a particularly gaudy way, and
not using a proper sig separator so my newsreader can automatically snip
the stupid eyesore.

--
A. Sinan Unur <1usa@xxxxxxxxxxxxxxxxxxx>
(reverse each component and remove .invalid for email address)

comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
.



Relevant Pages

  • Re: Theoretical Discussion: Hotel WiFi Hack
    ... changing my MAC address. ... discussion to start with you wireless experts. ... They don't offer wired internet because it's an old ... Surely the router or gateway would go ...
    (alt.internet.wireless)
  • RE: ssh from public internet and firewalls
    ... key and passphrase when connecting from outside the lan. ... The MAC option will only work for local ... > If your going to be connecting from a particular subnet on the Internet, ...
    (RedHat)
  • Re: Grant internet-only access to a MAC user/guest - How?
    ... Based on my research, to make the MAC client can access Internet thru SBS, ...
    (microsoft.public.windows.server.sbs)
  • Re: Theoretical Discussion: Hotel WiFi Hack
    ... discussion to start with you wireless experts. ... They don't offer wired internet because it's an old ... passed his MAC address around via some GET variables in the URL. ... Surely the router or gateway would go ...
    (alt.internet.wireless)
  • Theoretical Discussion: Hotel WiFi Hack
    ... discussion to start with you wireless experts. ... They don't offer wired internet because it's an old ... passed his MAC address around via some GET variables in the URL. ... Surely the router or gateway would go ...
    (alt.internet.wireless)