On Sat, 10 Nov 2012 00:36:48 -0500, John L. Cunningham wrote:

> Well...
> 
> head /etc/group |\
> awk '{"echo " $0 " | cut -d: -f1" | getline result; print result}'
> 
> ...seems to work. 

Great. Thanks. 

> But it is also very silly.

Again, as I said, this is only 
*for the sake of illustration of filtering through external command*.
I didn't want to complicate/distract the discussion on how to match a 
piece of segment on a complicated XML string then beautify it via 
external command tidy, then do further processing..., all within awk,  
make sense now? 

Thanks everyone!



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/k7nbf4$vab$1...@ger.gmane.org

Reply via email to