home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!sunic!dkuug!dde!kim
- From: kim@dde.dk (Kim Andersen)
- Newsgroups: comp.lang.tcl
- Subject: Re: starting scripts
- Message-ID: <1992Aug13.143044.14473@dde.dk>
- Date: 13 Aug 92 14:30:44 GMT
- References: <1992Jul27.195132.28767@dde.dk> <1992Aug10.081408.3782@cc-mac.nbn.com>
- Organization: Dansk Data Elektronik A/S
- Lines: 27
-
- dv@cc-mac.nbn.com (David Vezie) writes:
- [lines deleted]
- >#! /usr/local/wish -f
- >true ' { '
- >exec /usr/local/wish -f $0 $*
- >}
-
- >Inserting this at the beginning of your script (substituting
- >the /usr/local/wish for your path to wish) should guarantee
- >wish startup (the first line is seen as a command by itself
- >to the bourne shell, so the bourne shell runs the second line.
- >The first line (thanks to the single quotes and curly braces)
- >is continued on the next two lines in wish/tcl, so is ignored.
-
- >I've tested this on SunOS 4.1.1 (my machine), but not on System V,
- >but I think it'll work.
- >--
- >--
- >David Vezie dv@sonoma.edu,dv@xnet.ssl.berkeley.edu
-
- Thanks alot.
- It does work on a "pure" System V platform.
-
- --
- --
- Kim Andersen @ Dansk Data Elektronik A/S, Herlev, Denmark.
- E-mail: kim@dde.dk or ...!uunet!mcsun!dkuug!dde!kim
-