(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.