cat without comments
Aug 31, 2018

Here’s how to print a file to stdout and remove all the comments vie the cli:

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

Related Notes