• 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: Mac vs unix Carriage returns on a text file format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac vs unix Carriage returns on a text file format


  • Subject: Re: Mac vs unix Carriage returns on a text file format
  • From: Doug McNutt <email@hidden>
  • Date: Sat, 2 Apr 2005 17:37:49 -0700

At 23:15 +0100 4/2/05, kai wrote:
>On Fri, 1 Apr 2005 10:04:07 -0800, Christopher Nebel wrote:
>>Don't forget, AppleScript's "paragraph" elements of text are line- ending-agnostic. If you have a glob of text that's formatted  whichever way (even a mix), "paragraph 4" will get you the fourth paragraph regardless.
>
>The practical significance of Chris's point shouldn't be underestimated, since this feature makes converting line-breaks a breeze

The subject line says "Mac vs Unix" but I wonder if AppleScript's paragraph elements are agnostic to the two other Unicode line endings? which are neither DOS, nor Unix, nor Mac. I have not seen them in practice but. . .

<ftp://ftp.macnauchtan.com/Software/LineEnds/FixEndsFolder.sit>  ( 52 kB )
<ftp://ftp.macnauchtan.com/Software/LineEnds/ReadMe_fixends.txt>  (4 kB )

Will change line ends in place using drag and drop but they don't, yet, handle the Unicode thingies.

--

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

This email sent to email@hidden

  • Follow-Ups:
    • Re: Mac vs unix Carriage returns on a text file format
      • From: Christopher Nebel <email@hidden>
References: 
 >Re: Mac vs unix Carriage returns on a text file format (From: kai <email@hidden>)

  • Prev by Date: Re: Mac vs unix Carriage returns on a text file format
  • Next by Date: Okay, I really do have a URL Access Scripting question now...
  • Previous by thread: Re: Mac vs unix Carriage returns on a text file format
  • Next by thread: Re: Mac vs unix Carriage returns on a text file format
  • Index(es):
    • Date
    • Thread