#! /bin/bash
# Interaktywne wywołanie parsera
#
# Author: Marcin Woliński
# This file is in the public domain.

parser=swigra_interactive

while getopts :12 OPT; do
    case $OPT in
	1)
	    parser=swigra_interactive
	    ;;
	2)
	    parser=swigra2_interactive
	    ;;
	*)
	    echo "usage: ${0##*/} [-12] "
	    exit 2
    esac
done
shift $(( OPTIND - 1 ))
OPTIND=1

if [ $# -gt 0 ]; then
    echo $#
  echo "usage: ${0##*/} [-cf]"
  exit 1
fi

xpce -g "[$parser]"

### Local Variables: 
### coding: utf-8
### mode: shell-script
### End: 
