[Ecls-list] -shell and -load difference

Juan Jose Garcia-Ripoll jjgarcia at users.sourceforge.net
Wed Oct 17 08:44:45 UTC 2007


2007/10/17, David_Creelman at pa.com.au <David_Creelman at pa.com.au>:
> sh-3.1$ cat somelisp.mail | ecl -norc -shell runsomelisp.lisp

David, this answers it all. "ecl", with -shell command, will quit
after running "runsomelisp.lisp". That is how shell scripts are
intended to work. Take for instance the Unix shell "bash". If you do
bash foo.sh, it will exit when the script is finished: it will not
expect further commands from the input. If you want "ecl" to process
the lines in the mail, then you have to do something in
"runsomelisp.lisp" to parse and execute the remaining lines.

Regards,

Juanjo

-- 
Facultad de Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 28040 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list