Re: New technote for "do shell script"
Re: New technote for "do shell script"
- Subject: Re: New technote for "do shell script"
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 28 Jan 2003 09:20:29 -0800
On 1/28/03 8:48 AM, "Doug McNutt" <email@hidden> wrote:
>
At 20:22 -0800 1/27/03, Paul Berkowitz wrote:
>
> <http://developer.apple.com/technotes/tn2002/tn2065.html>.
>
>
>
> Question 1:
>
>
>
> "There are two possibilities: first, do shell script always uses the sh
>
> shell, not your default shell, which Terminal uses. (The default shell for
>
> new users is csh, so unless you've changed it, that's what it is.)"
>
No, I did not write that. I quoted that from the tech note. My "Question 1",
which you removed, was to ask why the document refers to csh when the
default shell is actually tcsh, AFAIK. Since your comments refer to the same
thing, it would have been clearer if you left my question in, particularly
since you attribute the quote to me. No? Of course, this is (on both our
parts) a side issue about Terminal peripheral to the AppleScript information
contained in the tech note. But a little puzzling if it's not simply a silly
error, so it would be nice to have clarification.
>
>
I have a script I use at every login and it ran fine this morning. The script
>
is 100% tcsh and uses if - end if in a non dislexic fashion which would surely
>
fail in bash. It' is executed with a "do shell script". It does begin with
>
#!/bin/tcsh.
>
>
My .tcshrc file also has some diagnostic logging that I have installed. The
>
log for this morning shows that my script, on entry, called .tcshrc and that
>
at that time the PATH variable was as I had set it up in environment.plist not
>
a special PATH defined by AppleScript. So. . .
>
>
Paragraphs 1 and 2 are in direct conflict with my experiences. (I sure hope
>
things are not going to change with 10.2.4 to match the document.)
--
Paul Berkowitz
_______________________________________________
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.