bash expansion and variables

From thelinuxwiki
Jump to: navigation, search


variables in sed (and other utils)

BASH treats anything in single-quotes as a literal string, and will not try to interpolate any variables. You probably want to be using double-quotes instead.