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


Click here to return to the 'AppleScript not so easy...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
AppleScript not so easy...
Authored by: el bid on Feb 10, '06 02:08:14AM

> The "./" is command line-ese for "run what comes next."

Not quite. It's just the path name locating the file you want to run -- "in the current directory". Folks coming to UNIX from DOS trip up on this because DOS automatically assumes "current directory" as the location, although in fact that "." means the same thing in DOS (but they get their slashes the wrong way round...). UNIX needs to know exactly where the executable is, so you need this abbreviation for the whole path.

BTW I wholeheartedly agree that the command line is your friend. C'mon, guys, we've all grown up now and we're running UNIX, the greatest operating system the world has ever seen... :-) Applescript belongs to the thin proprietary veneer on the top, and isn't even anything to do with the much thicker mid-layer NeXTStep stuff that does most of the non-UNIX work around here.

---
el bid



[ Reply to This | # ]