Include shebang support

Bug #130389 reported by J. Pablo Fernández
2
Affects Status Importance Assigned to Milestone
sbcl (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

It would be very nice if the SBCL package already included shebang support as explained on: http://www.sbcl.org/manual/Unix_002dstyle-Command-Line-Protocol.html#Unix_002dstyle-Command-Line-Protocol

It'd be nice so one would actually be able to create a program, there's no other way to create a SBCL/CL program and ship it (unless you can accept all programs to be 25MB big and have all the libraries and sbcl embedded). If this is enabled, one could create a CL library and an SBCL script that would be dropped on /usr/bin/ that would be the program that uses the library. (Other implementations would be as problematic as they are today).

Thank you.

Daniel T Chen (crimsun)
Changed in sbcl:
importance: Undecided → Wishlist
Revision history for this message
Christoph Egger (christoph-egger) wrote :

Your link doesn't work anymore. However I guess you're referring to something like the below which does indeed work nowadays.

christoph@chillida /tmp :) % cat test.sbcl
#!/usr//bin/sbcl --script
(write-line "Hello, World!")

christoph@chillida /tmp :) % ./test.sbcl
Hello, World!

Changed in sbcl (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.