in reply to CR+LF
Short answer - use method 1 if the file is only to be used on *nix platforms. Use 2 if you need the file on both platforms.
HTH...
BTW, more than once I've wished for a command line switch (or configuration variable) to specify the value of the newline character.
Update: I always get cr & lf backwards - is it 10 and 13 or 13 and 10 :(
And thank you Tye for the pointer to your Line Feeds node - printing \0x0A puts a \r\n into the file!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CR+LF ("\n" ne "\r")
by tye (Sage) on Jun 19, 2003 at 22:44 UTC |