MACSCRPT Archives

September 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Philip Aker <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Fri, 22 Sep 2006 20:33:00 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (16 lines)
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;


Philip Aker
[log in to unmask]

ATOM RSS1 RSS2