JtheRipper
IS-IT--Management
Hi there!
I am a complete newbie to awk and shell scripting and need some help pls!
I have a text file that look as follows:
ops$trr1233 1
ops$ood3333 1
ops$tri3423 0
ops$koo3333 1
.
.
.
and so on (+- 800 lines)
I want to loop through the text file, and if there is a 0 next to a name, send e-mail. I can send the mail, but my problem is that I have no idea on how to loop through the list and seperating the 2 columns.
Any help will be greatly appreciated!
Thanks,
Jaco
I am a complete newbie to awk and shell scripting and need some help pls!
I have a text file that look as follows:
ops$trr1233 1
ops$ood3333 1
ops$tri3423 0
ops$koo3333 1
.
.
.
and so on (+- 800 lines)
I want to loop through the text file, and if there is a 0 next to a name, send e-mail. I can send the mail, but my problem is that I have no idea on how to loop through the list and seperating the 2 columns.
Any help will be greatly appreciated!
Thanks,
Jaco