I'm trying to preserve $if below and
would like the following to output
bash is getting in the way by doing
$ sed -e 's:\\$:\\$:g' <<ENDOFFILE > $if > ENDOFFILE
$ tr '$' '\$' <<ENDOFFILE > $if > ENDOFFILE
Is there a way to preserve $keywords
to stdout without explicitly escaping
them out in stdin?
Should I switch to another shell before attempting this?