I suggest using
`grep -Fw '<ip>' <logpath>`

The -F prevents the '.'s in <ip> from wildcarding, and -w specifies that it
must be a stand-alone word (including end-of-line).

Reply via email to