in reply to Perl output and uniq

cat report.txt | ./ips.pl > ips.txt

Did you know there is a Useless Use of Cat Award?

(Just trolling.)

But you really don't need cat here. Allow your computer to relax a bit and just use one process where one process is sufficient:

./ips.pl < report.txt > ips.txt

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)