Skip to content

Comment on Pretty IP Address lookupparent

Comments

What do you need the grep for?

Probably so you know that the output you received is definitely an IP if egrep returns 0. The script on the server could fail or return unexpected non-IP output.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.