mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
29 lines
580 B
Plaintext
29 lines
580 B
Plaintext
|
diff -ruN mailbin.old mailbin
|
||
|
--- mailbin.old Wed Dec 31 16:00:00 1969
|
||
|
+++ mailbin Sat Nov 29 04:15:38 1997
|
||
|
@@ -0,0 +1,24 @@
|
||
|
+#!/bin/sh
|
||
|
+MAILER="Mail"
|
||
|
+DSCDIR=${HOME}/.xmitBin
|
||
|
+if [ ! -d ${DSCDIR} ]
|
||
|
+then
|
||
|
+ echo creating ${DSCDIR}
|
||
|
+ mkdir ${DSCDIR}
|
||
|
+fi
|
||
|
+export MAILER DSCDIR
|
||
|
+
|
||
|
+if [ $# -ne 3 ]
|
||
|
+then
|
||
|
+ echo "usage: ${0} email filename title"
|
||
|
+ echo "NOTE: title must be all one argument, so enclose it in quotes!"
|
||
|
+ exit 1
|
||
|
+fi
|
||
|
+
|
||
|
+ADDR=${1}
|
||
|
+FILE=${2}
|
||
|
+TITLE=${3}
|
||
|
+
|
||
|
+exec xmitBin -mail -d ${ADDR} -f ${FILE} -verbose "${TITLE}"
|
||
|
+# -l label to put in titlebar
|
||
|
+# consider -noscript
|