Do not print file names for grep command

The grep commands get as parameter `-nr` which still shows the file name, hence the `print $1` in the gawk command will select the file name instead the line number. So, one could either write `print $2` or add `-h` as parameter to grep to hide the file name. I did the latter one in this pull request.