HSAFoundation/Linux-HSA-Drivers-And-Images-AMD — pull request #3 by ivuk (2014-07-06 09:37:19+00:00)
Title: Switch from backticks to $(), use grep -c flag instead of piping into wc -l

Since the #! explicitly declares /bin/bash, switch to $() instead of backticks (). Since [[ is also used, I'm guessing this should be acceptable. :)

Also, switch to using 'grep -c' instead of 'grep

file | wc -l'.