Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash replace substring

echo [string] | sed "s/[original]/[target]/g"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #replace #substring
ADD COMMENT
Topic
Name
4+7 =