• 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: 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

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: Is there a shell tool to find folders greater than a given size?
  • Next by Date: mail.app, bottom post, applescript
  • 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