I have a script that processes text from the clipboard. Depending on the 
application the text is copied from, (even on the same platform) lines 
sometimes end in lf, cr, or possibly cr/lf.  What's the best way of 
normalizing the lines so that my script will work independent of the 
actual newlines chosen?

Thanks

Alan