clamav-users May 2014 archive
Main Archive Page > Month Archives  > clamav-users archives
clamav-users: Re: [clamav-users] Version 0.98.3 hard loops on &q

Re: [clamav-users] Version 0.98.3 hard loops on "clamdscan -V"

From: Bowie Bailey <Bowie_Bailey_at_nospam>
Date: Fri May 09 2014 - 14:33:10 GMT
To: clamav-users@lists.clamav.net

On 5/8/2014 10:35 PM, Eric Shubert wrote:
> [root@qmt-cos5 etc]# grep -v ^# clamd.conf | grep -v ^$

Inefficiency bugs me... You can do multiple patterns with a single grep
using the -e flag.

grep -v -e ^# -e ^$ clamd.conf

-- Bowie _______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/support/ml