Awk Question

Kevin Cozens kevin-4dS5u2o1hCn3fQ9qLvQP4Q at public.gmane.org
Tue Oct 30 05:57:56 UTC 2012


On 12-10-29 05:05 PM, William Weaver wrote:
> That just gives me the users who have delete. I need the other rights they
> have that aren't delete.

I wasn't providing a solution to your problem as your example output seemed 
to contain an error that made it unclear what you wanted out. I was showing 
you how the two "/DELETE/" lines could be made in to one. If you read the 
rest of what I wrote I was suggesting the use of associative arrays to save 
the data being parsed before outputting in your desired format.

-- 
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