Replace one substring for another string in shell script.md 371 B


Title: "Replace one substring for another string in shell script" Date: 2019-02-11 10:56:57 Categories: [programming] tags: [bash]

Authors: sedlav

To replace the first occurrence of a pattern with a given string, use ${parameter/pattern/string}

Link