Okay, I've searched more than once for a script that sorts ip addresses from a text file (one address per line), my eyes are burning. Output to stdout is fine. Someone please toss me a bone, complete from #!/usr/bin/perl. I thank you. My burning eyes thank you. :) Jim Edwards