On Mon, May 18, 2009 at 4:30 PM, Darren Weber <[email protected]> wrote:

>
> Let the file ~/bin/macports.tcl contain the following:
>
> source /Library/Tcl/macports1.0/macports_fastload.tcl
> package require Pextlib
>
> Then, how do you startup tclsh8.4 with a command line option to source this
> file and remain in an interactive mode?  The man page and a google search
> are not providing a clear answer to this simple problem.  I'm not a tcl
> expert, but I would have thought there is a tclsh command line option to
> source a .tcl script (and then remain interactive).
>
> Thanks in advance,
> Darren
>
>

Interesting note on autoloading:
http://www.ccp4.ac.uk/peter/programming/tcl_autoloading.html

Section 13.7 of Tcl and Tk Toolkit by Ousterhout is interesting also.
http://www.amazon.com/Tcl-Toolkit-Addison-Wesley-Professional-Computing/dp/020163337X
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to