[clamav-users] Version 0.98.3 hard loops on "clamdscan -V"
Eric Shubert
ejs at shubes.net
Fri May 9 17:29:00 UTC 2014
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 at 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'
More information about the clamav-users
mailing list