[prog] bash script - mac address compare and send email

Chris Henderson henders254 at gmail.com
Tue Mar 24 04:32:00 UTC 2009


On Tue, Mar 24, 2009 at 2:28 PM, Far Jump <far.jmp at gmail.com> wrote:
> Chris,
>
> the problem is not in -eq ... we know this works.  Your MAC1 is straight forward, so tshark must be return something unexpected or additional ...

yes, the first two lines of tshark is

"Running as user "root" and group "root". This could be dangerous."
"Capturing on eth0"

is this the cause? if yes, how do I get rid of them using sh/awk or sed?

Thanks.


More information about the Programming mailing list