Answers for "sed replace ' with ""

14

replace text with sed

sed -i 's/old-text/new-text/g' input.txt
Posted by: Guest on March-31-2020
0

sed replace with variable

sed -i "s/$var1/ZZ/g" "$file"
Posted by: Guest on August-03-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language