9 date 95.12.06.21.00.46; author jromine; state Exp;
14 date 95.12.06.20.57.55; author jromine; state Exp;
25 @more pgp fixes from mtr
28 @: run this script through /bin/sh
30 if [ "$1" = -sign ]; then
39 if [ "$#" != 1 ]; then
40 echo "usage: What now? ed pgped" 1>&2
45 trap "rm -f $DRAFT.1 $DRAFT.2 $DRAFT.2.asc" 0 1 2 3 13 15
47 USERS="`stclsh -nointerface -messaging -messagebody $DRAFT -file @@LIB/pgped.tcl $DRAFT.1 $DRAFT.2 $TEXT`"
49 if [ ! -s $DRAFT.1 -o ! -s $DRAFT.2 ]; then
53 if pgp -$FLAGS $DRAFT.2 $USERS; then
54 mv $DRAFT `dirname $DRAFT`/,`basename $DRAFT`
56 cat $DRAFT.1 $DRAFT.2.asc > $DRAFT
74 USERS="`stclsh -nointerface -messaging -messagebody $DRAFT -file @@LIB/pgped.tcl $DRAFT.1 $DRAFT.2`"