Talk:Show git version numbers - Linux

When attempting to run this script I get the following: revtag.sh: line 3: syntax error near unexpected token `(' revtag.sh: line 3: `git log -n 1 --decorate --oneline | sed -e s/,.*$//' -e 's,(r/,- r,'` > bin/.version '
 * 1) bash revtag.sh

Just wanted to make sure the script was copied to the wiki correctly and I wasn't missing something.