Awk Question
D. Hugh Redelmeier
hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org
Tue Oct 30 15:49:50 UTC 2012
| From: William Weaver <williamdweaver-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>
| /Delete/ { Users[$1]=$2 }
| /Delete/ {print $1, " - ", Users[$1]}
I think that these should read
$2=="Delete" { Users[$1]=$2 ; print $1, " - ", Users[$1] }
You don't want a version of the Little Bobby Tables problem.
<http://xkcd.com/327/>
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list