lib/Tools/yxml
author wenzelm
Sat, 16 Aug 2008 13:31:57 +0200
changeset 27914 9a7f17370ffb
parent 26575 042617a1c86c
child 28650 a7ba12e0d3b7
permissions -rwxr-xr-x
refined scala/java wrappers via isatool;

#!/usr/bin/env bash
#
# $Id$
# Author: Makarius
#
# DESCRIPTION: simple XML to YXML converter


PRG="$(basename "$0")"

function usage()
{
  echo
  echo "Usage: $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"