lib/Tools/yxml
author haftmann
Wed, 10 Feb 2010 14:12:04 +0100
changeset 35092 cfe605c54e50
parent 35022 c844b93dd147
permissions -rwxr-xr-x
moved less_eq, less to Orderings.thy; moved abs, sgn to Groups.thy

#!/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"