lib/Tools/yxml
author wenzelm
Mon, 31 Dec 2012 12:25:11 +0100
changeset 50645 cb8f93361e86
parent 35022 c844b93dd147
permissions -rwxr-xr-x
recovered Isabelle2012 NEWS from ae12b92c145a, except for e5420161d11d;

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