lib/Tools/yxml
author haftmann
Tue, 22 Sep 2009 15:36:55 +0200
changeset 32642 026e7c6a6d08
parent 29143 72c960b2b83e
child 35022 c844b93dd147
permissions -rwxr-xr-x
be more cautious wrt. simp rules: inf_absorb1, inf_absorb2, sup_absorb1, sup_absorb2 are no simp rules by default any longer

#!/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 perl -w "$ISABELLE_HOME/lib/scripts/yxml.pl"