Output text with Unix line feeds on jaguar

Rob Cozens rcozens at pon.net
Thu Sep 26 10:29:01 EDT 2002


>   put toRemoveEmails into URL ("file:" & stackFilePath & "/emails")

Hi Sannyasin,

Revolution automatically changes the line ending to ASCII 10 when 
when reading text files, and replaces the ASCII 10 with the 
appropriate line ending when writing a text file to a non-Unix 
platform.

To retain the Unix end-of-line character,

	put toRemoveEmails into URL ("binfile:" & stackFilePath & "/emails")

-- 

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)



More information about the use-livecode mailing list