how to modify only the last part of the variable
here is a variable
$name=000000000002312.cdt
after using it in a process
then it is required by the program to change the variable
$name=000000000002312.wlg
how can it be accomplished , in bash shell script.
Thank you
|