[CM] Lisp Question

Rick Taube taube@uiuc.edu
Wed, 7 May 2003 16:34:26 -0500


ok I see. Im not up on my clisp command line args but I think one reasonable
way to do this is to have clisp load your file and then have it evaluate an
expression you pass it. in this case the expressoin would call a function
that you define in the file you load:

clisp -l foo.lisp -x (doit "foo.sco")

where foo.lisp (or some other file) defines the function doit to take 1 arg,
a filename:

(defun doit (f)
  (whatever f))

anyway _something_ like that will work, do clisp -h to see what args clisp
wants you to use. you may have to do some sort of quoting in the shell too
on the lisp expression, but im not exatly sure