Last Updated: February 25, 2016
·
525
· mcappadonna

Read a configuration file without comments or white space

I use this command especially every time I need to reading the squid configuration file:

# egrep -v "^#|^$" /etc/squid3/squid.conf

Enjoy