X-Git-Url: https://code.consxy.com/gitweb/gitweb.cgi?p=clnl;a=blobdiff_plain;f=bin%2Fnl;h=a3de215686f70922563c62868eabc3470c4beb82;hp=2751c5ef86118535d865344578c1a4a3c0a12ff4;hb=bb7b484;hpb=a1c5dfe5f543aeb9d0e68414151153603a7435f0 diff --git a/bin/nl b/bin/nl index 2751c5e..a3de215 100755 --- 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