On 18-Aug-2000 Howard Lowndes wrote:
> If I have a list of IPs with many duplicates, what is the best way to
> extract a list of unique IPs?

sort iplist | uniq

This is in 'Software Tools', Kernighan & Plauger, I think. Provided you can
stomach RATFOR.

-- 
Jim Hague - [EMAIL PROTECTED] (Work), [EMAIL PROTECTED] (Play)
Never trust a computer you can't lift.


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to