Answers for "bash replace text with string"

5

bash replace substring

echo [string] | sed "s/[original]/[target]/g"
Posted by: Guest on May-23-2020
0

bash replace string

string="stirng" ; echo "${string//ir/ri}"
Posted by: Guest on October-29-2021

Code answers related to "bash replace text with string"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language