Nils Goesche <ngo@cartan.de> wrote:
+---------------
| Jim Morrison <dorz11@attbi.com> writes:
| > I load my file into lisp (lisp -load myfile.lisp) ...
|
| Or, if you only want to execute one program from the Unix
| command line, try putting
| (format t "~&Hello, world!")
| (fresh-line)
| (finish-output)
| (quit)
| into a file, then compile it as above and run the program with
| cmucl -init baz.x86f
| or some such.
+---------------
Of course, that will print this:
% cmucl -init baz.x86f
; Loading #p"/home/you/baz.x86f"
Hello, world!
%
If you want to get rid of that sometimes-unfortunate message ;-} ;-}
(e.g., when you're piping the output somewhere else), try this
instead:
% cmucl -noinit -eval '(setf *load-verbose* nil)' -load baz.x86f
Hello, world!
%
-Rob
p.s. Or when you get around to reading the documentation about how
to build your own customized CMUCL images (look at "lib/config.lisp"),
you can just build one with *LOAD-VERBOSE* defaulted to NIL (along
with a bunch of other verbosity vars).
-----
Rob Warnock, PP-ASEL-IA <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607