How to delete last found value in Bash : <p>Say I have a string <code>0.0.25</code>, how do I delete the last part after dot (including it) to make it like <code>0.0</code>? Note that last part can have variable number of digits. </p>
