There is no need to execute an external program. bash's string manipulation can handle it (also available in kshksh93 (where it comes from) and, zsh and recent versions of mksh, yash and busybox sh (at least)):
$ VERSION='2.3.3' $ echo "${VERSION//.}" 233 (In those shells' manuals you can generally find this in the parameter expansionparameter expansion section.)