replacing string values in bash