in reply to
How grep IP-addresses that is an exact match?
If you want an "exacty match" use the "equality operator" also known as "eq" or "==".
grep$_==$ip,<FILE>;
Comment on
Re: How grep IP-addresses that is an exact match?
Download
Code
In Section
Seekers of Perl Wisdom