Remove comments and empty lines with grep

Remove comments and empty lines with grep

grep -v -e ^# -e ^$ filename

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.