He wants to make use of existing variables to do the trick. IMHO it's much simpler, easier, and less energy-consuming to type the version out - it can't be any longer than this: $echo ${_realver} | sed s|-|_|g-