This is a sweet and short way of getting rid of comments in your config files:
sed -e ‘/^#| *#/d’ /path/to/config
Be nice to the forum people. Short configs are easier to check as you do not have to dig through all the comments on reading.
my two cents on life – including taxes and duties…
This is a sweet and short way of getting rid of comments in your config files:
sed -e ‘/^#| *#/d’ /path/to/config
Be nice to the forum people. Short configs are easier to check as you do not have to dig through all the comments on reading.