Versions of bash before 3.0 do not have =~ syntax to match on a regex. Changed to using a simple grep -c test instead. Fixes issues with osx and Solaris 9 and before.
30 KiB
Executable File
30 KiB
Executable File