• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: linebreak in a shell script; was Re: What's wrong with this call to zip?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: "Mark J. Reed" <email@hidden>
  • Date: Thu, 28 Feb 2008 23:38:40 -0500

Dead keys do not show up in strings.  There is no character generated
at all until you press the second key.  The application is oblivious
to the mechanism used to send it a particular char - the input method
hides the details.

Unicode does have combining characters. Unlike the dead-key sequences
one might use to enter those characters, the combining char comes
after the base char, not before.  Thus you might press the umlaut dead
key and then the U, but what shoiws up in the string will be either
the single character "u with umlaut", or a u followed by a combining
umlaut.

And as I said earlier, U+0D0A is a symbol in the Malayam writing system.

 Original message -
It's possible that the CR is being treated as...

On 2/28/08, Doug McNutt <email@hidden> wrote:
> 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
>


--
Mark J. Reed <email@hidden>
 _______________________________________________
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

References: 
 >Re: linebreak in a shell script; was Re: What's wrong with this call to zip? (From: Shane Stanley <email@hidden>)
 >Re: linebreak in a shell script; was Re: What's wrong with this call to zip? (From: Philip Aker <email@hidden>)
 >Re: linebreak in a shell script; was Re: What's wrong with this call to zip? (From: "Mark J. Reed" <email@hidden>)
 >Re: linebreak in a shell script; was Re: What's wrong with this call to zip? (From: Philip Aker <email@hidden>)
 >Re: linebreak in a shell script; was Re: What's wrong with this call to zip? (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Is there a shell tool to find folders greater than a given size?
  • Next by Date: Re: Is there a shell tool to find folders greater than a given size?
  • Previous by thread: Re: linebreak in a shell script; was Re: What's wrong with this call to zip?
  • Next by thread: Re: linebreak in a shell script; was Re: What's wrong with this call to zip?
  • Index(es):
    • Date
    • Thread