配置文件去掉注释行和空白行

grep -Ev '^#|^$' aa.conf

grep -Ev '^(#|$)' aa.conf

posted @ 2022-08-02 14:03  shenshu  阅读(21)  评论(0)    收藏  举报