replacing string values in bash (bash)