From: Sam S. <sd...@gn...> - 2012-04-26 00:31:55
|
> * Pascal J. Bourguignon <cwo@vasbezngvzntb.pbz> [2012-04-26 01:24:23 +0200]: > > So, let's assume a file named hello-world.lisp, containing: > > ----(hello-world.lisp)-------------------------------------------------- > (defun hw () > (format t "~%Bonjour le monde !~%") > (values)) > ------------------------------------------------------------------------ > > then you can run it from the unix command line with: > > $ clisp -norc -ansi -q -x '(progn (load "/tmp/hello-world.lisp" :verbose nil) (values))' -x '(hw)' > > Bonjour le monde ! > $ just do clisp -i hello-world -x '(hw)' or append "(hw)" to the file and just do clisp hello-world -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://www.childpsy.net/ http://camera.org http://mideasttruth.com http://www.PetitionOnline.com/tap12009/ http://pmw.org.il .ACMD setaloiv siht gnidaeR |