|
From: SourceForge.net <no...@so...> - 2010-12-01 05:49:14
|
Bugs item #3124233, was opened at 2010-12-01 05:55 Message generated for change (Comment added) made by informatimago You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=3124233&group_id=1355 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: clisp Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Andrew Pennebaker (mcandre) Assigned to: Bruno Haible (haible) Summary: *args* omits script name (if any) Initial Comment: Scripting with Common Lisp would be a lot easier if *args* included the lisp file loaded by clisp. E.g., ./myscript.cl and clisp.cl would have *args* => ("myscript.cl") One workaround is to use shebang trickery. http://speely.wordpress.com/2010/11/27/writing-scripts-with-common-lisp/ ---------------------------------------------------------------------- Comment By: Pascal J. Bourguignon (informatimago) Date: 2010-12-01 06:49 Message: You can use *load-pathname* to get the script name. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=3124233&group_id=1355 |