Note: This answer is somewhat off topic as it doesn't directly answer the question; however I believe that it adds value/info so I'm posting.
Use of backticks e.g. `...`
is the legacy (non-POSIX compliant) BASH method of command substitution. As a rule $(...)
should be used instead. It's POSIX compliant and there are a ton of other good reasons! For most of them see: http://stackoverflow.com/questions/9449778/what-is-the-benefit-of-using-instead-of-backticks-in-shell-scriptshttps://stackoverflow.com/questions/9449778/what-is-the-benefit-of-using-instead-of-backticks-in-shell-scripts