#!/bin/bash

function cmd_suffix()
{
    rm -f *.xml
    for name in context_icosa field_def filedef ; do
	ln -s xml/${name}_$1.xml ${name}.xml
    done
    ln -s iodef.xml
}

echo "Usage : xml/link.sh [simple|full]"

cmd_suffix $1
ls -l *.xml