Subject: Re: executing cmucl from unix command line
From: rpw3@rpw3.org (Rob Warnock)
Date: Mon, 02 Aug 2004 20:28:04 -0500
Newsgroups: comp.lang.lisp
Message-ID: <QtSdnfA_dOu5d5PcRVn-gQ@speakeasy.net>
Pascal Bourguignon  <spam@thalassa.informatimago.com> wrote:
+---------------
| Jim Newton <jimka@cadence.com> writes:
| > I want it to simply start, evaluate an expression, and exit.
| > something like the following
| > lisp -eval '(format t "hello world~%)'
| 
| JUST SAY IT!
|   lisp -eval '(format t "hello world~%")(quit)'
+---------------

Actually, even though that works in 19a-pre3, I'd probably do this for
robustness [and to suppress ";Loading..." chatter and uncertainty about
what's in the user's init file]:

    % lisp -noinit -eval '(progn (format t "hello world~%")(quit))'
    hello world
    % 


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607