MACSCRPT Archives

May 2003

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:
Eric Schult <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 21 May 2003 10:18:41 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (27 lines)
On Sat, 17 May 2003 23:48:45 -0700, Walter Ian Kaye <osas@NATURAL-
INNOVATIONS.COM> wrote:

>I usually used Tanaka's osax for MT Replace, but Extra Suites has a
>replace command (not case sensitive, though -- gotta see if he'll add
>that).
>
>What exactly did you use the read/write commands for? maybe we can
>help you duplicate the functionality...

I like Tanaka's for its ability to readFromFile in one line of code, without
having to open for access and close access (and having to worry about leaving
the file busy if there's an error before the close access line is reached).
It's just a quibble, really; it's what I'm used to.

The same argument for writeToFile in Tanaka's. It's just cleaner. AND I'm
admittedly fretting the thousands of lines of code I'm going to have to edit
in the absence of Tanaka's. Oh, well. I guess Open for Access it is.

I kinda hoped somebody would chime in with the prospects of doing the same
thing with command line scripting. I'm no UNIX geek or anything, but what
little I've heard suggests a write to file command can be accomplished in the
terminal. I just don't know the syntax. Is it truth or fiction that command
line scripts like that offer exponentially better performance?

WES

ATOM RSS1 RSS2