Re: Multi-line do shell script. How?
Re: Multi-line do shell script. How?
- Subject: Re: Multi-line do shell script. How?
- From: Christopher Nebel <email@hidden>
- Date: Thu, 22 Apr 2004 12:14:00 -0700
On Apr 22, 2004, at 8:57 AM, Nigel Smith wrote:
On 22/4/04 5:14, "Graff" <email@hidden> wrote:
On Apr 21, 2004, at 5:52 PM, Christopher Nebel wrote:
On Apr 21, 2004, at 8:23 AM, Graff wrote:
If all you want to do is to check your environment variables then
just do this:
do shell script "declare"
Maybe on your system, but not a standard one. Try 'do shell script
"set"' instead.
I thought bash *was* the standard now? :-)
But "set" works in bash and tcsh, so it's probably better.
Oops, my mistake. "declare" does indeed work (in bash, that is, and
therefore in "do shell script", but not in tcsh); I was thrown off by
the fact that "which declare" claimed there was no such command.
--Chris Nebel
AppleScript Engineering
_______________________________________________
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.