lib/Tools/yxml
author hoelzl
Tue, 02 Jun 2009 13:59:32 +0200
changeset 31363 7493b571b37d
parent 29143 72c960b2b83e
child 35022 c844b93dd147
permissions -rwxr-xr-x
Added theorems about distinct & concat, map & replicate and concat & replicate

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