lib/Tools/yxml
author wenzelm
Tue, 08 Apr 2008 15:47:05 +0200
changeset 26575 042617a1c86c
child 28650 a7ba12e0d3b7
permissions -rwxr-xr-x
support for YXML notation -- XML done right;

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