Can I put comments (or something functionally equivalent) into a sed command file?
subs.sed
s/this/that/g
# comment
s/it/they/g
$ sed -i -f subs.sed <(echo this it)
that they
Can I put comments (or something functionally equivalent) into a sed command file?
subs.sed
s/this/that/g
# comment
s/it/they/g
$ sed -i -f subs.sed <(echo this it)
that they