On 18/9/09 3:54 PM, "[log in to unmask]" <[log in to unmask]> wrote:

> do shell script "tr '\\r' '\\n' " & pathName &...

Try:

do shell script "tr '\\r' '\\n' <" & pathName &...

tr normally works on standard input, so you need the "<" to tell it to use
the file.

-- 
Shane Stanley <[log in to unmask]>
AppleScript Pro, April 2010, Florida <http://www.applescriptpro.com>