Path: utzoo!attcan!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!mailrus!cornell!uw-beaver!teknowledge-vaxc!sri-unix!quintus!ok From: ok@quintus.uucp (Richard A. O'Keefe) Newsgroups: comp.lang.scheme Subject: Re: Scheme shellscripts Message-ID: <203@quintus.UUCP> Date: 27 Jul 88 21:58:30 GMT References: <1666@kalliope.rice.edu> <880716144458.6.JAMES@GREEN-GRASS.LCS.MIT.EDU> <1700@kalliope.rice.edu> <12601@agate.BERKELEY.EDU> Sender: news@quintus.UUCP Reply-To: ok@quintus.UUCP (Richard A. O'Keefe) Organization: Quintus Computer Systems, Inc. Lines: 12 In article <12601@agate.BERKELEY.EDU> mwm@eris.berkeley.edu (Mike Meyer) writes: ... >Instead, try doing: > echo > /tmp/runscheme.$$ '(set! $* (quote ('$*')))' >This creates a file in /tmp ... Um, /tmp is for system programs. /usr/tmp is the place for user temporary files. A number of system V utilities support the convention of trying to create files in $TMPDIR. It might be better, then, to do scheme_temp=${TMPDIR:-/usr/tmp}/runscheme.$$ echo '(set! $* (quote ('$*')))' >$scheme_temp You'll want to keep track of the file name so that you can delete it.