Re: Executing an Applescript
Re: Executing an Applescript
- Subject: Re: Executing an Applescript
- From: Cameron Simpson <email@hidden>
- Date: Sat, 31 Dec 2011 12:04:22 +1100
On 30Dec2011 18:23, Daniel . <email@hidden> wrote:
| On Dec 29, 2011, at 11:28PM, Ken Thomases wrote:
| > Put the '&' after the '<<"__END__"', not before.
|
| Great! Works like a charm! Thanks Ken.
It is worth noting that a here document marker is a bit like a quoted string.
You can do this:
blah <<A &
stuff
stuff
A
or for more fun:
blah <<A 3<<B &
stuff for stdin
etc
A
stuff for fd 3
etc
B
which lets you get all your here documents marked out on the command
line along with the "&" if you want one, and the data beneath. That way
you haven't hidden the "&" off in a distant part of the script where it
is harder to see.
Cheers,
--
Cameron Simpson <email@hidden> DoD#743
http://www.cskk.ezoshosting.com/cs/
Adalio Sanchez, a manager for IBM's ThinkPad division, said that one
popular spread sheet consumes nearly 100 percent of notebook power when
idle.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden