lee-pai-long
4/29/2016 - 4:04 PM

remove-comments-and-empty-lines_sed.md

[SED] Remove comments and empty lines from file

$ sed \
> -e '/^<comment_character>/d' \
> -e '/^$/d' \
> -i <file>