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: Paul Berkowitz <email@hidden>
- Date: Thu, 28 Feb 2008 10:29:22 -0800
- Thread-topic: linebreak in a shell script; was Re: What's wrong with this call to zip?
On 2/28/08 9:35 AM, "Christopher Nebel" <email@hidden> wrote:
> "ASCII character 10" (deprecated in Leopard),
I am not yet in Leopard, but have read the AppleScript 2.0 release notes
that state this and discuss the new 'character id' and 'id' properties. I
hope that 'ASCII character' and 'ASCII number', though deprecated, still
work in Leopard, so scripts written for Tiger and earlier still work there?
I can't test because I'm still in Tiger.
In future, I will check for OS version and branch code. But it would be nice
to know that the old methods still work. In Tiger, 'ASCII number' of a
Unicode version of an ASCII character still gives the same result as of the
string version. I.e.
ASCII number of ("A" as Unicode text)
--> 65
is the same as
ASCII number of "A" -- old string class
--> 65
So I'd hope that now that "A" is Unicode by definition in Leopard, it still
works the same?
Is there any reason why you'd be removing this behavior, or the two ASCII
scripting additions working, any time soon? (Obviously character id will be
quicker and better, but it would still be nice for old scripts to work.)
--
Paul Berkowitz
_______________________________________________
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