>>>>> "spot" == spot <spot@HOPELESS.MESS.CS.CMU.EDU> writes:
>> Can one run comma commands (,load ,open etc.) from a script running
>> in batch mode?
spot> yes, but the syntax is different (parenthesized). for
spot> example, i load a file with the following lines:
spot> (config '(load "markup/util.scm"))
spot> (config '(load "markup/match48.scm"))
spot> (config '(load "markup/convert.scm"))
spot> (config '(load "markup/dot.scm"))
spot> (config '(load "markup/layout.scm"))
spot> (config '(load "markup/main.scm"))
spot> (config '(load "packages.scm"))
spot> with this interactive command
spot> ,exec ,load loadem.exec
Is there any way to do it without typing anything interactively at
all?
I just want to use a little script I wrote in batch mode (with
scsh -s). I get the following. Also, is there a parenthesized form for
,open?
> (chdir "/usr/src/scsh-0.4.2/net")
> (config '(load "net-package.scm"))
Error: undefined variable
config
(package user)
1>
|