Thanks Tom.. I had a buddy who works with perl give me a little help
since I couldn't get vim to see the \r.. the following one liner got me
where I needed to be. Thanks again.
cat origfile|perl -e 'while (<>){$_ =~ s/\r//g;print $_;}' > prepfile
-----Original Message-----
I think you've got DOS-style newlines (\r\n) in your data file.
Get rid of the carriage return characters (\r) and you'll be set.
regards, tom lane