Add Licensing and Contributing
[clnl] / bin / nl
diff --git a/bin/nl b/bin/nl
index c14aa972ff1b7ceecb04e2d35149701bfc1e6b2b..1abd5c8391b382b2439f89e29a83dc3c2e515e5b 100755 (executable)
--- a/bin/nl
+++ b/bin/nl
@@ -1,3 +1,7 @@
 #!/bin/bash
 
-rlwrap sbcl --script bin/run.lisp
+if [ "$1" ] ; then
+  ( cat bin/run.lisp | sed -e '/clnl:run/d' && echo "(clnl:run \"$1\")" ) | sbcl --script
+else
+  sbcl --script bin/run.lisp
+fi