Right Now

⏳ Waiting for the APIs in the Cloud for what's going on right now ...

(Mostly) UNIX Quotes

Various quotes, mostly UNIX related, which I've accrued over the years from various sources.

Well my terminal's locked up and I ain't got any Mail And I can't recall the last time that my program didn't fail I've got stacks in my structs, I've got arrays in my queues I've got those: Segmentation violation -- Core dumped blues.

Running Shell Scripts With AppleScript

While I was playing with AppleScript earlier this week I wanted to run a shell script I'd written from within Finder rather than from a shell prompt in Terminal.app.

On Windows I tend to write scripts to run under Cygwin and then write a wrapper batch file to run the script under the control of Cygwin's bash executable.

Turns out the AppleScript solution is identical in principal and is as simple as

do shell script "/full/path/to/shell/script"

You may need to adjust the path to the script dependent upon whether the directory where your script resides is in your $PATH or not.