lib/Tools/yxml
author wenzelm
Tue, 24 Jul 2012 10:39:03 +0200
changeset 48459 375e45df6fdf
parent 35022 c844b93dd147
permissions -rwxr-xr-x
timing is command line options, not system option;

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