#!/bin/sh

n=$#
if [ $n -ge 2 ] ; then
  m=`expr $n - 1`
  eval cmd='$'$m
  eval num='$'$n
  if [ '(' "$cmd" = "bsf" -o "$cmd" = "fsf" -o "$cmd" = "fsr" -o "$cmd" = "bsr" ')' -a $num -eq 0 ] ; then
    exit 0
  fi
fi

exec mt "$@"
