/ Published in: Other
The following snippet will remove lines beginning with '#' (ignoring white space before the '#') and empty line. This helps viewing and comparing configuration files full of comments.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
sed -e '/^[ \t]*#/d' -e '/^$/d'