Displaying config files without comments

Posted On // Leave a Comment

I want to display config files without comments ( # or ; ) & blank lines


I use


cat file | grep -v ^#


but it won't work for files that use ; as comment or remove blanks lines


Any great alias you guys may suggest?


http://ift.tt/1dvHQ0Z

0 comments:

Post a Comment