4.4BSD/usr/src/old/awk/test/t.exit
{ print } $1 < 5000 { exit NR }