[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [suse-security] Grep uncomment lines from .conf

Hi Arie,

> I want to grep lines that not commented from a file,  Someone said that I can
> use
> $sed -e '/^[[:space:]]*#/d;/^[[:space:]]*$/d' file.conf
> but I think it's too long, I have use
> $egrep -v '^#' file.conf

send it through |grep -v ^$ ?


Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-help@xxxxxxxx
Security-related bug reports go to security@xxxxxxx, not here