for awk experts only.

Polytropon freebsd at edvax.de
Sat Nov 29 21:17:33 PST 2008


Replying to my own message: I found a point for improvement.
Why use grep when awk can grep by itself?

% wn foot -over | awk '/Overview/ { printf("%s %s\n", $4, gsub("noun", "n.", $3)); }'

Ah, much better. :-)


-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list