Re: problems with direct STk-scripts lauching

From: <jredford_at_lehman.com>
Date: Thu, 16 Feb 95 09:51:36 -0500

> #!/usr/local/bin/launch
> #/THIS/IS/THE/REAL/PATH/TO/INTERPRETER -f
> ...
>
> note that STk would need to skip more than one '# line' at the beginning of
> the script.
>
> I'm sure it can be found on the net. Any pointer ??

Well, after I replied to this the first time I realized that this was
not exactly what was wanted. Here is what will do what was asked for:

#!/opt/bin/perl
; exec '/opt/bin/stk', '-file', $0, _at_ARGV;
; __END__;

(stk-code-here)


--
John Redford (AKA GArrow) | 3,600 hours of tape.
jredford_at_lehman.com       | 5 cans of Scotchguard.
Received on Thu Feb 16 1995 - 15:54:44 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST