[bash] Replace one substring for another string in shell script