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: Eric Shubert <ejs_at_nospam>
Date: Fri May 09 2014 - 17:29:00 GMT

On 05/09/2014 07:45 AM, Greg Folkert wrote:
> On Fri, 2014-05-09 at 10:33 -0400, Bowie Bailey wrote:
>> 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
> You are sufficiently lazy! You beat me to it... you know, because I'm
> morerer lazy.

Thanks for the pointer. At my age though, my typing is stronger than my
memory (what was that flag again?), so the longer form sometimes suits
me better (fewer things to remember!). :)

Note, if I was scripting it, I hope I'd use the -e flag for efficiency.

-- -Eric 'shubes' _______________________________________________ Help us build a comprehensive ClamAV guide: