On Tue, May 02, 2006 at 08:05:41PM +0100, Paul Jakma wrote:
> cat text.txt |awk -v text=$1 '$2 == text {print $4}' RS="\n\n"
>
> -v is a standard AWK feature.
So is taking a file as the last argument. For crying out loud people,
think of the pipe carnage!
--
Colm MacCárthaigh Public Key: colm+pgp at stdlib.net