• 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: Sorting? [sorted]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Sorting? [sorted]
      • From: bill fancher <email@hidden>
References: 
 >Re: Sorting? [sorted] (From: bill fancher <email@hidden>)

  • Prev by Date: Re: Sorting? [sorted]
  • Next by Date: Re: Sorting? [sorted]
  • Previous by thread: Re: Sorting? [sorted]
  • Next by thread: Re: Sorting? [sorted]
  • Index(es):
    • Date
    • Thread