Skip to main content

Timeline for Why does awk execute both actions?

Current License: CC BY-SA 3.0

4 events
when toggle format what by license comment
Sep 20, 2012 at 20:05 comment added Jim Paris If someone has from= or to= in their e-mail address, you'll have the same problem. Unlikely, but you might as well make it : from= and : to= to make false positives even less likely.
Sep 20, 2012 at 14:56 comment added jw013 Even simpler: /from=/ || /to=/ { print $7 }
Sep 20, 2012 at 14:53 history migrated from serverfault.com (revisions)
Sep 20, 2012 at 14:50 history answered quanta CC BY-SA 3.0