Closed ivuk closed 9 years ago
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 'TEXT' file | wc -l'.
Done, thanks
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 'TEXT' file | wc -l'.