openrisc / orpsoc-cores

Core description files for FuseSoC
124 stars 79 forks source link

Do not print file names for grep command #36

Closed msoeken closed 10 years ago

msoeken commented 10 years ago

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.

fjullien commented 10 years ago

Adding -h doesn't hurt. However, when I run:

cat build/de1/bld-quartus/de1.fit.rpt | grep -nr "; Fitter Summary"

It doesn't print the file name....

If it fix a problem for you, we sould commit this.

Franck.

olofk commented 10 years ago

Cherry-picked and pushed. Thanks