`cat fmt.dat | awk 'BEGIN {val=0} $1==3 {val=$2} END {print val}'` == 2
