View Single Post
I think we have probably moved beyond OmniFocus issues to the question of how much one wants to learn about Terminal.app and the shell here.

It may be a bit ambitious to use shell scripts like this when the basics are still a bit unfamiliar. Probably best to start with some tutorial material - there's plenty on the web.

My first guess is that you may be saving from Word (possibly not first choice for shell script editing and testing) with the wrong kind of line-endings (Bash expects LF), but I'm afraid I may not have time to get into the forensics of that :-)

Good luck !