#!/bin/sh POSTER="inews -h" DSCDIR=${HOME}/.xmitBin if [ ! -d ${DSCDIR} ] then echo creating ${DSCDIR} mkdir ${DSCDIR} fi export POSTER DSCDIR if [ $# -ne 3 ] then echo "usage: ${0} newsgroup filename title" echo "NOTE: title must be all one argument, so enclose it in quotes!" exit 1 fi NG=${1} FILE=${2} TITLE=${3} exec xmitBin -post -d ${NG} -f ${FILE} -verbose "${TITLE}" # -l label to put in titlebar # consider -noscript