cat without comments
Aug 31, 2018
1 minute read

I wanted to dump a file and remove all the comments. Here’s a way to do that:

awk '!/^ *#/ && NF' ~/.datadog-agent/datadog.yaml


comments powered by Disqus