Title: "Replace one substring for another string in shell script" Date: 2019-02-11 10:56:57 Categories: [programming] tags: [bash]
To replace the first occurrence of a pattern with a given string, use ${parameter/pattern/string}
${parameter/pattern/string}
Link