Actually, it doesn't change the line endings. I didn't thought it would, and after trying it out, it sure doesn't... 0x0D, and then 0x0D0A stayed that way.
On 6/8/06, Jonathan Johnson <[EMAIL PROTECTED]> wrote:
/bin/sh -c "cat /foo/bar" > out.txt Check to see if foo/bar and out.txt are the exact same. I'm guessing that you'll notice that the line endings aren't the same anymore.
There are no reasons for Unix shells to do such transformations, and I had always assumed that the lf > cr [on a Mac] conversions came from RB. I'm still betting on it... -- dda libcurl4RB, [S]FTP transfers made easy http://sungnyemun.org/?q=node/8 RBDeveloper Columnist, "Beyond the Limits" http://rbdeveloper.com Liste Française Solutions RB http://www.solutionsrb.com/
_______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
