![]() |
sponsored links |
|
|
sponsored links
|
|
|
3
26th February 13:40
External User
Posts: 1
|
y=$(awk ' {
t="'"$time"'" if (($0 ~ t) && ($3 ~ "notification") && ($4 ~ "Deliver")) { nmatches++ }} END { print nmatches } ' $mail_log) Your END section was inside curly braces Note yow the curly braces have changed in my code. Chuck Demas -- Eat Healthy | _ _ | Nothing would be done at all, Stay Fit | @ @ | If a man waited to do it so well, Die Anyway | v | That no one could find fault with it. demas@theworld.com | \___/ | http://world.std.com/~cpd |
|