On 11 December 2010 02:41, Alessio Stalla alessiostalla@gmail.com wrote:
If I do echo '(prog (format nil "version=~a" (lisp-implementation-version)) (quit))' | ./abcl only the prompt is printed, not the result.
That's because (format nil ...) prints to a string, not to *standard-output*. You want (format t ...) instead.
No, it looks like there may be a lingering flushing problem. Adding the (quit) seems to botch the print (there's no --batch, so everything the REPL prints should be printed), so that does seem like a flushing problem indeed.