|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--jscheme.Shebang
Shebang allows Jscheme scripts to be invoked from a UNIX shell. The first line of the script should look like:
#! java jscheme.ShebangAlso, the jscheme.jar must be in the jre/lib/ext directory of your j2sdk. If you want the script to exit when done, explicitly call (exit).
This class was motivated by Pixel's Script Oriented Programming page: http://people.mandrakesoft.com/~prigaux/index_no_smallest.html
| Constructor Summary | |
Shebang()
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
|
static void |
skipLine()
Skip first line. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Shebang()
| Method Detail |
public static void main(java.lang.String[] args)
public static void skipLine()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||