summaryrefslogtreecommitdiff
path: root/news/xmitbin/files/patch-ad
blob: aed92468b430cbd000210648cf414b4d2acaa294 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff -ruN postbin.old postbin
--- postbin.old	Wed Dec 31 16:00:00 1969
+++ postbin	Sat Nov 29 04:15:38 1997
@@ -0,0 +1,24 @@
+#!/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