Much Thanks Timo - worked perfectly.. FYI it's line 324 in vi for those interested
Jason > -----Original Message----- > From: Openvas-discuss [mailto:openvas-discuss- > [email protected]] On Behalf Of Timo Pollmeier > Sent: Friday, October 18, 2013 4:47 AM > To: [email protected] > Subject: Re: [Openvas-discuss] questionable openvas-scapdata-sync output > > Hello Jason, > > On 15.10.2013 22:02, Weir, Jason wrote: > > Are the egrep errors normal? > > > > Jason > > > > [...] > > The egrep errors were fixed in the OpenVAS-7 beta and it will also be > corrected in the next Manager version of OpenVAS-6. > In the meantime you can fix it yourself by adding the missing brackets > in the openvas-scapdata-sync script: > > This line: > && [ -n `echo "$timestamp_raw" | egrep -x > "[0-9]{4}\-(0[0-9]|1[012])\-([0-2][0-9]|3[01])[:alnum:]*"` ] > > should be replaced with: > && [ -n `echo "$timestamp_raw" | egrep -x > "[0-9]{4}\-(0[0-9]|1[012])\-([0-2][0-9]|3[01])[[:alnum:]]*"` ] > > > Best regards, > > Timo _______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
