s/[\r\n]+$//; [download]
In reply to Re: Basic 'while' loop problem by Anonymous Monk in thread Basic 'while' loop problem by BioBoy