用grep剔除掉配置文件空白行和注释

1
grep -ve "^[[:space:]]*[#;]\|^$\|^[[:space:]]*$" /etc/samba/smb.conf