lib/Tools/getenv
author wenzelm
Mon, 09 Dec 1996 09:04:07 +0100
changeset 2335 e965156e84e3
parent 2307 508d2a233dbc
child 2733 1d1013313201
permissions -rwxr-xr-x
added -norc option;

#!/bin/bash -norc
#
# $Id$
#
# DESCRIPTION: get value from Isabelle settings


PRG=$(basename $0)

function usage()
{
  echo
  echo "Usage: $PRG VARNAME"
  echo
  echo "  Get value of VARNAME from the Isabelle settings."
  echo
  exit 1
}


## main

[ $# -ne 1 ] && usage

eval "echo \$$1"