/usr/bin/clojure1.9 is in clojure 1.9.0-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | #!/bin/sh
if [ "x$CLASSPATH" = "x" ] ; then
extra_classpath=""
else
extra_classpath=":$CLASSPATH"
fi
while true ; do
case "$1" in
-cp | -classpath)
extra_classpath=":$2"
shift 2 ;;
--)
shift
break ;;
*)
break ;;
esac
done
if [ "x$1" = "x" -a "x`which rlwrap`" != "x" ] ; then
rlwrap="rlwrap -r -c -C clojure -f /etc/rlwrap/clojure1.9 -b (){}[],^%\$#@\"\";:''|\\"
fi
exec $rlwrap java -cp /usr/share/java/clojure-1.9.jar"$extra_classpath" clojure.main "$@"
|