Re: Search a file question - Mac OS 9
Re: Search a file question - Mac OS 9
- Subject: Re: Search a file question - Mac OS 9
- From: Reinhold Penner <email@hidden>
- Date: Tue, 17 Sep 2002 11:33:28 -1000
Arthur,
On Tuesday, Sep 17, 2002, at 11:08 Pacific/Honolulu, Arthur J. Knapp
wrote:
Date: Tue, 17 Sep 2002 12:18:04 -0700
Subject: Re: Search a file question - Mac OS 9
From: bill fancher <email@hidden>
On Tuesday, September 17, 2002, at 11:21 AM, bill fancher wrote:
do shell script "grep -n 'RC \\[[1-9][0-9]*\\]' /path/to/input >
/path/to/output"
You can pipe that through something else if you need to tweak the
output format. Let us know...
Some people don't even bother to read the whole subject line.
Regardless of the subject line, I'm not sure that this is the right
way to answer someone's question in any case. We might as well respond
to ALL questions on this mailing list like this:
do shell script "use unix/perl/shell commands, you silly person."
...and what's wrong with that? I really think that the "do shell
script" command has essentially killed most of AppleScript's own
commands. I just use AS for script flow inbetween DSC commands.
-Reinhold
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.