cat without comments
Here’s how to print a file to stdout and remove all the comments vie the cli:
awk '!/^ *#/ && NF' ~/.datadog-agent/datadog.yaml
Here’s how to print a file to stdout and remove all the comments vie the cli:
awk '!/^ *#/ && NF' ~/.datadog-agent/datadog.yaml