#!/bin/sh

stdlib=/usr/pkg/lib/mosml
mosmlbin=/usr/pkg/bin

while : ; do
  case $1 in
    "")
      exec $mosmlbin/camlrunm $stdlib/mosmllex;;
    -*)
      echo "Unknown option \"$1\", ignored" >&2;;
    *)
      exec $mosmlbin/camlrunm $stdlib/mosmllex $* ;;
  esac
  shift
done


