lib/Tools/yxml
author wenzelm
Wed, 25 Apr 2012 15:13:03 +0200
changeset 47748 24550210de0b
parent 35022 c844b93dd147
permissions -rwxr-xr-x
enforce our JAVA_HOME to avoid potential conflicts with other Java installations by the user;

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: simple XML to YXML converter


PRG="$(basename "$0")"

function usage()
{
  echo
  echo "Usage: isabelle $PRG"
  echo
  echo "  Convert XML (stdin) to YXML (stdout)."
  echo
  exit 1
}

function fail()
{
  echo "$1" >&2
  exit 2
}


## process command line

[ "$#" -ne 0 ] && usage


## main

exec "$ISABELLE_HOME/lib/scripts/yxml"