Linux 不显示注释和空白行
转发自
https://blog.csdn.net/m0_67390788/article/details/123969932
grep -vE "#|^$" filename
或者
grep -v "#\|^$" filename
转发自
https://blog.csdn.net/m0_67390788/article/details/123969932
grep -vE "#|^$" filename
或者
grep -v "#\|^$" filename