<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>CL-launch works fine with ccl. My earlier slander of cl-launch has been resolved. </div><div><br></div><div>You can ask quicklisp to install it, and then do 'sudo make install' from the directory that</div><div>appears in the quicklisp tree. You need to have ccl in it's path. There are lots of knobs on</div><div>cl-launch, most of which I've never used. But you may want to reorder it's search list</div><div>for lisp implementations to get your favorites at the top.</div><br><div><div>On Nov 25, 2013, at 10:42 PM, Steven Núñez <<a href="mailto:steven.nunez@illation.com">steven.nunez@illation.com</a>> wrote:</div><blockquote type="cite">Thanks Pascal, that seems to work. Ugly, but it works. I was also referred<br>to cl-launch, but apparently it¹s not working with ccl at the moment.<br><br>Any chance of a -script option being added to ccl?<br><br>Regards,<br><span class="Apple-tab-span" style="white-space:pre"> </span>- Steve<br><br><br><br>On 2013-11-25 2:00 , "<a href="mailto:openmcl-devel-request@clozure.com">openmcl-devel-request@clozure.com</a>"<br><<a href="mailto:openmcl-devel-request@clozure.com">openmcl-devel-request@clozure.com</a>> wrote:<br><br><blockquote type="cite">Send Openmcl-devel mailing list submissions to<br><span class="Apple-tab-span" style="white-space:pre"> </span><a href="mailto:openmcl-devel@clozure.com">openmcl-devel@clozure.com</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br><span class="Apple-tab-span" style="white-space:pre"> </span>http://clozure.com/mailman/listinfo/openmcl-devel<br>or, via email, send a message with subject or body 'help' to<br><span class="Apple-tab-span" style="white-space:pre"> </span>openmcl-devel-request@clozure.com<br><br>You can reach the person managing the list at<br><span class="Apple-tab-span" style="white-space:pre"> </span>openmcl-devel-owner@clozure.com<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Openmcl-devel digest..."<br><br><br>Today's Topics:<br><br> 1. CCL Shell Scripts (Steven N??ez)<br> 2. Re: CCL Shell Scripts (Pascal J. Bourguignon)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Sun, 24 Nov 2013 10:25:12 +0000<br>From: Steven N??ez <steven.nunez@illation.com><br>To: "openmcl-devel@clozure.com" <openmcl-devel@clozure.com><br>Subject: [Openmcl-devel] CCL Shell Scripts<br>Message-ID: <CEB7F505.21B4F%steve.nunez@illation.com><br>Content-Type: text/plain; charset="windows-1252"<br><br>Greetings All,<br><br>Has anyone got a formula for creating shell scripts with CCL? Something<br>that equates to SBCL's ?script option? I need to write some pipelined<br>applications, and while "| ccl64 <options> script.lisp? works, the<br>surrounding framework is easier to use if I could just pass in the name<br>of an executable script.<br><br>The only thing I could find was a request for shebangs some three years<br>ago marked ?won?t fix?. Are there any other options?<br><br>Regards,<br>- Steve<br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <br><http://clozure.com/pipermail/openmcl-devel/attachments/20131124/fdc41fe8/<br>attachment-0001.html><br><br>------------------------------<br><br>Message: 2<br>Date: Sun, 24 Nov 2013 16:52:22 +0100<br>From: "Pascal J. Bourguignon" <pjb@informatimago.com><br>To: openmcl-devel@clozure.com<br>Subject: Re: [Openmcl-devel] CCL Shell Scripts<br>Message-ID: <87k3fxvlu1.fsf@informatimago.com><br>Content-Type: text/plain; charset=utf-8<br><br>Steven N??ez <steven.nunez@illation.com> writes:<br><br><blockquote type="cite">Greetings All,<br><br>Has anyone got a formula for creating shell scripts with CCL?<br>Something that equates to SBCL's ?script option? I need to write some<br>pipelined applications, and while "| ccl64 <options> script.lisp?<br>works, the surrounding framework is easier to use if I could just<br>pass in the name of an executable script.<br><br>The only thing I could find was a request for shebangs some three<br>years ago marked ?won?t fix?. Are there any other options?<br></blockquote><br><br>$ cat bin/script-ccl<br>#!/bin/sh<br>exec ccl -Q -n -e '(set-dispatch-macro-character #\# #\! (lambda (s c n)<br>(declare (ignore c n)) (read-line s) (read-line s) (values)))' -l "$0" -e<br>'(ccl:quit 0)' -- "$0" "$@"<br>(format t "~S~%" CCL:*UNPROCESSED-COMMAND-LINE-ARGUMENTS*)<br>(loop for line = (read-line *standard-input* nil)<br> while line<br> do (write-line (string-upcase line)))<br>$ (echo hello ; echo word) | bin/script-ccl a b c<br>("bin/script-ccl" "a" "b" "c")<br>HELLO<br>WORD<br><br><br>-- <br>__Pascal Bourguignon__<br>http://www.informatimago.com/<br><br><br><br>------------------------------<br><br>_______________________________________________<br>Openmcl-devel mailing list<br>Openmcl-devel@clozure.com<br>http://clozure.com/mailman/listinfo/openmcl-devel<br><br><br>End of Openmcl-devel Digest, Vol 121, Issue 10<br>**********************************************<br></blockquote><br>_______________________________________________<br>Openmcl-devel mailing list<br><a href="mailto:Openmcl-devel@clozure.com">Openmcl-devel@clozure.com</a><br>http://clozure.com/mailman/listinfo/openmcl-devel<br></blockquote></div><br></body></html>