RE: [ILUG] awk help required

From: Dale Dunlea (dad at domain raidtec.ie)
Date: Fri 03 Aug 2001 - 11:56:01 IST


> cheques (happy paul?) made out in irish pounds are
> preferred. as an
> alternative, you can send me a compaq ipaq, a 21 inch
> monitor (lcd),
> a titanium g4, etc.
>
Surely you'd only charge for working solutions though? Regexps being
case sensitive, /Not Found/ won't match the "Not found" that appears in
the text file.

> BEGIN {FS="|"}
> $1 ~ /Label/ && $2 ~ /Not Found/ {count=count+1}
> END {print count}
>



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:11:28 GMT