Program name: Difference between revisions

Content added Content deleted
(Removed bash dependency)
Line 695:
Getting the program name is tricky. When interpreted, the script name will be printed. When compiled, the executable name will be printed.
 
<lang scheme>#!/bin/bashsh
#|
exec csi -ss $0 ${1+"$@"}