Re: Finding Filenames that contain a certain string
Re: Finding Filenames that contain a certain string
- Subject: Re: Finding Filenames that contain a certain string
- From: "Gary (Lists)" <email@hidden>
- Date: Fri, 20 Jul 2007 06:50:05 -0400
"Philip Aker" wrote:
> On 2007-07-20, at 00:13:25, Peter Baxter wrote:
>
>> Is there a users list that uses shell scripting to solve all these
>> problems?
>
> This is it. Since AppleScript implements 'do shell script', anything that it
> can spawn is legal chat on this list.
All true, but the MacScrpt list is traditionally the list for
"other-than-AS" discussion.
One /could/ argue (and I don't care to...but I do agree) that "do shell
script" is Applescript, but everything between it's quotes is not. ;)
Anyway, I do think that there is some merit to the discussion that some task
and/or assistance requests here can become 'overloaded' with esoteric Unix
tools rather than AS. But, I would /not/ want to exclude suggestions or
mention of shell methods.
It's just that each of those shell tools is /it's own mini-language/ and
therefore it does take quite a bit more, and other, learning to do tasks in
a shell. But some jobs just are much easier there.
It's like anything else, really: balance. At some qualitative point,
recognized only in the moment of any thread about 'do shell script', there
can appear to be heavy-handedness toward some language other than AS.
The reader is really responsible for saying "Okay, I don't want to learn
that trick right now and so I'll ignore it. But now I know for later, when
I'm not under a deadline or piled with frustration."
There's a fine line between suggestion and advocacy, and it's all about that
line. (And, of course, a person rather than a thread can take on that
quality too, with persistent and adamant suggestion for something that is
not AppleScript, per se.) I don't know if there are those persons here or
not, but my own internal "Argggh-o-Meter" doesn't notice that if it's so.
The MacScrpt list is, however, (again) traditionally the place for "all Mac
scripting", including shell.
And don't forget, there are not only AS and shell tools. There's PHP and
Ruby and so on (all usable from within AS, via 'do shell script'), but you
don't see those languages being routinely suggested here. (Even though many
kinds of tasks are more suited to those other languages.)
Just some thoughts. I don't see any real issue lately, myself, and so I'm
not taking any position that this list is overloaded with 'do shell script'.
--
Gary
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden