Hi,

> \n = ox0a = unix
> \r = 0x0d = macintosh
> \r\n = dos


"\r" is for old mac (< 10), right ?  For me (after some searches), "\n" is
for Unix and new Mac, "\r\n" is for windows. "\r" alone is... weird. I
cannot see the logic, because (analogy with a typewriter):

 * "\n" is a "new line"
 * "\r" is a "carriage return"

To have a line feed: either:

 * either you consider a "new line" by itself includes a "carriage return".
As in a typewriter: you pull the lever, and it rotates the cylinder + goes
back to the begining
 * or you have distinct action (under windows): a "carriage return" (goes
back to the beginning) then a "new line" (rotates the cylinder).

But a "carriage return" alone would just go back to the beginning (and you
would write over your previous text).

Anyway, "\r" seems to be used only by old mac. My question is: do you have
an old mac ? With jalv2 and jallib installed ??  How such "\r" chars have
appeared in the sources ?

I've fixed jallib.py so it can handle any line separator chars. It also now
requires an output file (mandatory).

Seb
-- 
Sébastien Lelong
http://www.sirloon.net
http://sirbot.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to