Re: linebreak in a shell script; was Re: What's wrong with this call to zip?
Re: linebreak in a shell script; was Re: What's wrong with this call to zip?
- Subject: Re: linebreak in a shell script; was Re: What's wrong with this call to zip?
- From: Doug McNutt <email@hidden>
- Date: Thu, 28 Feb 2008 20:30:40 -0700
At 22:12 -0500 2/28/08, Mark J. Reed wrote:
>I'm not disputing the value of your analogy; I'm just saying that a
>sequence of two Unicode scalar values always represents, by
>definition, a sequence of two Unicode characters. So the fact that
>the sequence CR LF is somehow treated as a single "character" in
>AppleScript 2.0 is not due to that language's adoption of Unicode.
>It's a separate issue, despite being in the character manipulation
>segment of the language.
It's possible that the CR is being treated as a dead key - as in OPTION-u, u to get a u with an umlaut. AS could be using that sequence to produce a 16 bit character that it will treat as a line end.
The U+0D0A code point is not used for anything else as far as I can tell.
I seem to remember characters in unicode that represent decorations applied to the succeeding character rather than graphemes of their own. Don't ask me to find one though.
--
--> From the U S of A, the only socialist country that refuses to admit it. <--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden