This fixes an issue where the log file being parsed contains multiple instances of the version number.  When the egrep expression returns multiple lines, the formation of the version number around line 133 ( the tr command ) that pulls out everything but numbers generates a (potentially) enormous string.
This fixes an issue where the log file being parsed contains multiple instances
of the version number.  When the egrep expression returns multiple lines, the
formation of the version number around line 133 ( the tr command ) that pulls
out everything but numbers generates a (potentially) enormous string.

Reference:  http://steamcommunity.com/groups/linuxgsm/discussions/0/361798516936473435/

Maxximou5/linuxgameservers,dgibbs64/linuxgsm,dgibbs64/linuxgsm,GameServerManagers/LinuxGSM,GameServerManagers/LinuxGSM,Maxximou5/linuxgameservers