lib/Tools/yxml
author huffman
Wed, 27 Aug 2008 23:46:33 +0200
changeset 28029 4c55cdec4ce7
parent 26575 042617a1c86c
child 28650 a7ba12e0d3b7
permissions -rwxr-xr-x
simplify definition of vector_space locale (use axclasses instead of inheriting from field and ab_group_add classes)

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