DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
sed replace with variable
sed -i "s/$var1/ZZ/g" "$file"
Source by askubuntu.com #
PREVIOUS
NEXT
Tagged:
#sed
#replace
#variable
ADD COMMENT
Topic
COMMENT
Name
5+7 =
Submit