On 2006-09-22, at 20:33:00, Philip Aker wrote:
> On 2006-09-22, at 18:54:50, Nobumi Iyanaga wrote:
>
>> Perhaps I may use something like:
>
>> do shell script "perl -e '$_ = shift; print'" & space & quoted
>> form of the_text & space & "| ..."
>
> Hi Nobumi,
>
> With perl, watch for semicolons to end a statement:
> do shell script "perl -e '$_ = shift; print;
But maybe that's not it. Perhaps you have '\r' in you files? If so
then maybe you'll have to convert them to '\n'.
Also 'echo -n' will not insert the extra newline on output.
Philip Aker
[log in to unmask]