in reply to Re: chomp not working
in thread chomp not working

Could this be a Windows to UNIX text file transfer problem? Hidden characters used in Windows text files can do strange things in UNIX. There is an EMBOSS program that will strip these for you.