I finally broke down and bought Neteler and Mitasova's book, Open Source GIS: A GRASS GIS Approach, because I need to learn command-line GRASS. On trying to work through the book's examples, I'm finding that there may be a problem with my GRASS installation, or more likely with the installation of the tk framework. Here's the code and the error message that I'm getting:
gregory@Gregorys-MacBook> gis.m
~ gregory@Gregorys-MacBook> /usr/local/bin/wish: line 2: /usr/local/bin/../../../Library/Frameworks/Tk.framework/Versions/8.5/Resources/Wish.app/Contents/MacOS/Wish: No such file or directory
I installed GRASS and its dependencies using the binary installers from KyngChaos, so I'm pretty confident that the TK framework got installed correctly, but the error message seems to indicate otherwise. Also, I don't know how to interpret the section of the path in the error message that reads "/../../../".
Can anyone suggest a fix for this?