in reply to print if // line number?

awk's NR maps to Perl's $., so you should get your expected result with something like perl -ne 'print "$.:\t$_" if /GRHL3/' <filename>.

My experience has been that the best general reference when you are trying to track down 'magic' behavior is usually perlvar.