Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A shell/AppleScript interaction trick' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A shell/AppleScript interaction trick
Authored by: bluehz on Jun 18, '04 05:30:14PM

One thing to note - I used to think the "EOF" was written in stone - but it is not - it's simply a marker. So you can just as easily use "EOF1", or "ETF", etc as long as the opening and closing markers match. This comes into play when you may want to have more than one of these setups in a single script - although it is not necessary.. it simply makes teh script a little easier to read.

Also - from what I just read - the final EOF must be in the far left column, unless you use the form of <<-EOF in which case the final EOF will ignore any whitespace before it.



[ Reply to This | # ]