I want to parse a variable (in my case it's development kit version) to make it dot(.) free. If version='2.3.3', desired output is 233.
I tried as below, but it requires . to be replaced with another character giving me 2_3_3. It would have been fine if tr . '' would have worked.
1 VERSION='2.3.3' 2 echo "2.3.3" | tr . _
echo "2.3.3" | tr -d ..VERSION='2.30.3100'? No matter what just.'s are removed with all of the answers here.