#!/bin/sh

SIRCLIB=/usr/local/libexec/sirc ; export SIRCLIB

if test -z "$SIRCSERVER" && test -z "$IRCSERVER"
then
  SIRCSERVER="irc.dal.net"
  export SIRCSERVER
fi

case "$1" in
  -d) shift
      exec /usr/local/bin/perl5 ${SIRCLIB}/dsirc "$@"
      ;;
  *)  eval exec /usr/local/bin/ssfe $SSFE /usr/local/bin/perl5 ${SIRCLIB}/dsirc \"\$@\"
esac


syntax highlighted by Code2HTML, v. 0.9.1