> sed -e "s/_VERSION_HEADER_/$VERSION_HEADER/" DOCUMENTATION > > $./maker > sed: 1: "s/_VERSION_HEADER_/# Hi ...": unescaped newline inside substitute pattern > What about escaping the $ with a backslash in front of it?! :)