3
# JFlex start script $Revision: 1.16 $
5
# if Java is not in your binary path, you need to supply its
6
# location in this script. The script automatically finds
7
# JFLEX_HOME when called directly, via binary path, or symbolic
10
# Site wide installation: simply make a symlink from e.g.
11
# /usr/bin/jflex to this script at its original position
13
#===================================================================
17
# path to the java interpreter
22
#===================================================================
25
# calculate true location
30
# If PRG is a symlink, trace it to the real home directory
34
newprg=$(ls -l ${PRG})
35
newprg=${newprg##*-> }
36
[ ${newprg} = ${newprg#/} ] && newprg=${PRG%/*}/${newprg}
43
# --------------------------------------------------------------------
46
CLASSPATH=$JFLEX_HOME/lib/JFlex.jar
51
#$JAVA -Xmx128m JFlex.Main $@