Remove Empty Lines and Comments

Tagged with: , , , ,

Remove comments and blank lines from example.pl


sed '/ *#/d; /^$/d' example.pl

Leave a Reply