SyntaxFix
Write A Post
Hire A Developer
Questions
Say:
sed "s|\$ROOT|${HOME}|" abc.sh
Note:
/
$
EDIT: In order to replace all occurrences of $ROOT, say
$ROOT
sed "s|\$ROOT|${HOME}|g" abc.sh