Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

sed with variable

sed -i "s/$var1/ZZ/g" "$file"
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #sed #variable
ADD COMMENT
Topic
Name
8+9 =