bin/isabelle
author paulson
Tue, 10 Feb 2004 12:02:11 +0100
changeset 14378 69c4d5997669
parent 11566 94d2d6531c57
child 14981 e73f8140af78
permissions -rwxr-xr-x
generic of_nat and of_int functions, and generalization of iszero and neg
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
wenzelm
parents: 8359
diff changeset
     5
# License: GPL (GNU GENERAL PUBLIC LICENSE)
2308
641be5ad47af improved 'not found' messages;
wenzelm
parents: 2292
diff changeset
     6
#
11550
915c5de6480f smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents: 10905
diff changeset
     7
# Smart selection of isabelle-process versus isabelle-interface.
2292
c1c5652600f1 isabelle: Basic Isabelle startup script.
wenzelm
parents:
diff changeset
     8
11550
915c5de6480f smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents: 10905
diff changeset
     9
THIS=$(cd "$(dirname "$0")"; pwd)
915c5de6480f smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents: 10905
diff changeset
    10
NAME="$(basename "$0")"
2292
c1c5652600f1 isabelle: Basic Isabelle startup script.
wenzelm
parents:
diff changeset
    11
11566
wenzelm
parents: 11550
diff changeset
    12
case "$NAME" in
wenzelm
parents: 11550
diff changeset
    13
  I*)
wenzelm
parents: 11550
diff changeset
    14
    PRG=isabelle-interface
wenzelm
parents: 11550
diff changeset
    15
    ;;
wenzelm
parents: 11550
diff changeset
    16
  i*)
wenzelm
parents: 11550
diff changeset
    17
    PRG=isabelle-process
wenzelm
parents: 11550
diff changeset
    18
    ;;
wenzelm
parents: 11550
diff changeset
    19
esac
9786
wenzelm
parents: 8359
diff changeset
    20
11550
915c5de6480f smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents: 10905
diff changeset
    21
exec "$THIS/$PRG" "$@"