"tcsh: Missing ]." error involving Tcl, wish

I am trying to use a Makefile generator called Mfile <http://www.sax.de/~joerg/mfile/> for the 8-bit Atmel AVR microcontrollers. I've created a symbolic link (called "mfile")to what I believe to be the executable mfile.tcl. The error I get when I type "mfile" at the tcsh command prompt is:

tcsh: Missing ].

Without rehashing everything that is on the AVR Freaks forum <http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=78795&start= 0&postdays=0&postorder=asc&highlight=>, one thought was that somehow the initial line:

#!/usr/bin/wish

in mfile.tcl didn't work (is it supposed to work on MacOS X?), so it fell through, and then tcsh tried to interpret the Tcl script.

Does anyone know what the source of this "missing ]" is? (I'm very much a newbie at Unix, so type slowly. 😉 )

MacBook Pro, Mac OS X (10.4.11), 2.16 GHz, 2 GB DDR2 SDRAM

Posted on May 16, 2009 9:02 AM

Reply
1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

"tcsh: Missing ]." error involving Tcl, wish

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.