Re: Sorting? [sorted]
Re: Sorting? [sorted]
- Subject: Re: Sorting? [sorted]
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 13 Sep 2002 21:40:23 -0700
On 9/13/02 9:18 PM, "bill fancher" <email@hidden> wrote:
>
BTW, the construct
>
>
set text item delimiters to ASCII character 10
>
paragraphs of whatever as string
>
>
is nice for multi-line shell scripts too:
You don't need the text item delimiters line.
paragraphs of (whatever as string)
will work with CR, LF and CRLF line-endings. It couldn't care less what your
text item delimiters are:
set text item delimiters to {", "}
paragraphs of (whatever as string)
will get you just the same thing.
paragraphs of whatever
is _supposed_ to work, but in fact doesn't work for Unicode text with LF or
CRLF line-endings (the latter gets you lines prefaced by LF, the former gets
you the whole text as one paragraph) as discussed here recently. We were
assured it would be fixed. So you do need 'as string' for now.
(By the way, bill, I notice you never reset your tids. You probably spend a
lot of time in Unix. ;-))
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.