egrep

The purpose of this document is to describe how to use egrep.

Cat a file with no comments:

cat <file> | egrep -v "(^#.*|^$)"

Replace "#" in the above with your comment character or simply add more stuff: "(^#.*|^$|^;.*)"

[Edit]