Parsing data from an NBE file

Michel Arboi mikhail at nessus.org
Sat Nov 13 12:22:59 EST 2004


On Fri Nov 12 2004 at 20:54, Christopher J Bidwell wrote:

> grep 172.23.3 oldnbe.nbe > newnbe.nbe
> This obviously isn't very precise in that I'm going to get 172.23.3,
> 172.23.30-39, etc.  How can I make my greps more precise when doing
> this?

grep uses regex. "." is a special character that matches anything.
You have to escape it (as it was already answered) or use fgrep (or
grep -F) which matches strings 

-- 
arboi at alussinan.org	http://arboi.da.ru
NASL2 reference manual http://michel.arboi.free.fr/nasl2ref/



More information about the Nessus mailing list