This is a little script that I use to convert Mac/Windows format files to Unix format: #!/usr/bin/perl -pi s/\r\n?/\n/g; Enjoy! -- For a list of the ways which technology has failed to improve our quality of life, press 3.