Be sure to take a moment and savor the \r\n issue raised by
jeffa in his shameless node promo (well written by the way).
The \r from window's text files can jump up and bite ya on the
rear if you're not paying attention.
Depending on where your data is coming from, it can have
that extra \r in it.
I was recently surprised to realize that txt files uploaded using
<form action="blahblahscript.pl" method="POST" enctype="multipart/form-data">
and <input type=file name="upload_filename">
contained \r. Of course it's obvious they would when considered.
However, I'd been running along for days without considering it. ;-)
Moral of the story. Sometimes, depending on where your data is coming from, you may
want to do a little cleanup to remove window's weirdness so it doesn't clutter up your nice linux
environment.
Claude
|