cat a file and remove comments and blank lines

$ cat file.txt | grep -v "#" | grep -v "^$"


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *