Awk Question

Kevin Cozens kevin-4dS5u2o1hCn3fQ9qLvQP4Q at public.gmane.org
Tue Oct 30 16:19:54 UTC 2012


On 12-10-30 11:49 AM, D. Hugh Redelmeier wrote:
> $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/>

That is a better version of the check for the Delete perm. The "Little Bobby 
Tables" problem is one of my favourite xkcd cartoons.  :-)

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/           |"Nerds make the shiny things that distract
Owner of Elecraft K2 #2172      | the mouth-breathers, and that's why we're
                                 | powerful!"
#include <disclaimer/favourite> |             --Chris Hardwick
--
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