Re: Find script files
Re: Find script files
- Subject: Re: Find script files
- From: "Mark J. Reed" <email@hidden>
- Date: Thu, 10 Jul 2008 15:32:55 -0400
Now veering OT, but this bit o' shell:
> ls *.scpt | while read f; do
is better written as this:
for f in *.scpt; do
Since the shell is what does the expansion of "*.scpt" into a list of
filenames, there's really no sense having it run ls effectively just
to echo those strings back one per line...
--
Mark J. Reed <email@hidden>
_______________________________________________
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