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: Philip Aker <email@hidden>
- Date: Fri, 29 Feb 2008 06:52:59 -0800
On 08-02-28, at 19:12, Mark J. Reed wrote:
Didn't I just say that in my analogy? Midi describes its terms very
specifically. Notes are mapped to one scalar value but that which
makes up a note message is a code point. I'm just making the
analogy to a more general concept beneficial across a spectrum of
uses, not descending into the minutiae of a particular
implementation. Actually wishing more to trace the origin of the
idea. Which may be in Frequency Shift Key Modulation for all I know.
Well, variable-length encoding is certainly nothing new; it goes
back at least to Huffman...
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.
Yes. It's a bug. It should never do that because CR and LF have to be
separate characters in protocols such as the one we use to send email
messages.
It's a separate issue, despite being in the character manipulation
segment of the language.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
_______________________________________________
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