cat without comments
Aug 31, 2018

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

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