lib/Tools/yxml
author wenzelm
Sun, 07 Feb 2010 19:33:34 +0100
changeset 35021 c839a4c670c6
parent 29143 72c960b2b83e
child 35022 c844b93dd147
permissions -rwxr-xr-x
renamed old-style Drule.standard to Drule.export_without_context, to emphasize that this is in no way a standard operation;

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