From: Alan Munn Date: 2009-09-14T03:10:12+09:00 Subject: normalizing newlines 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