Program name: Difference between revisions
Content deleted Content added
Removed bash dependency |
|||
Line 695: | Line 695: | ||
Getting the program name is tricky. When interpreted, the script name will be printed. When compiled, the executable name will be printed. |
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/ |
<lang scheme>#!/bin/sh |
||
#| |
#| |
||
exec csi -ss $0 ${1+"$@"} |
exec csi -ss $0 ${1+"$@"} |