Add Licensing and Contributing
[clnl] / bin / nl
diff --git a/bin/nl b/bin/nl
index 2751c5ef86118535d865344578c1a4a3c0a12ff4..1abd5c8391b382b2439f89e29a83dc3c2e515e5b 100755 (executable)
--- a/bin/nl
+++ b/bin/nl
@@ -1,3 +1,7 @@
 #!/bin/bash
 
-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