bin/isabelle
author nipkow
Wed, 04 Aug 2004 11:25:08 +0200
changeset 15106 e8cef6993701
parent 14981 e73f8140af78
child 15778 98af3693f6b3
permissions -rwxr-xr-x
aded comment
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10555
2323ec838401 /usr/bin/env bash;
wenzelm
parents: 10511
diff changeset
     1
#!/usr/bin/env bash
2292
c1c5652600f1 isabelle: Basic Isabelle startup script.
wenzelm
parents:
diff changeset
     2
#
2308
641be5ad47af improved 'not found' messages;
wenzelm
parents: 2292
diff changeset
     3
# $Id$
9786
wenzelm
parents: 8359
diff changeset
     4
# Author: Markus Wenzel, TU Muenchen
2308
641be5ad47af improved 'not found' messages;
wenzelm
parents: 2292
diff changeset
     5
#
11550
915c5de6480f smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents: 10905
diff changeset
     6
# Smart selection of isabelle-process versus isabelle-interface.
2292
c1c5652600f1 isabelle: Basic Isabelle startup script.
wenzelm
parents:
diff changeset
     7
11550
915c5de6480f smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents: 10905
diff changeset
     8
THIS=$(cd "$(dirname "$0")"; pwd)
915c5de6480f smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents: 10905
diff changeset
     9
NAME="$(basename "$0")"
2292
c1c5652600f1 isabelle: Basic Isabelle startup script.
wenzelm
parents:
diff changeset
    10
11566
wenzelm
parents: 11550
diff changeset
    11
case "$NAME" in
wenzelm
parents: 11550
diff changeset
    12
  I*)
wenzelm
parents: 11550
diff changeset
    13
    PRG=isabelle-interface
wenzelm
parents: 11550
diff changeset
    14
    ;;
wenzelm
parents: 11550
diff changeset
    15
  i*)
wenzelm
parents: 11550
diff changeset
    16
    PRG=isabelle-process
wenzelm
parents: 11550
diff changeset
    17
    ;;
wenzelm
parents: 11550
diff changeset
    18
esac
9786
wenzelm
parents: 8359
diff changeset
    19
11550
915c5de6480f smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents: 10905
diff changeset
    20
exec "$THIS/$PRG" "$@"