9 date 96.02.09.01.32.45; author jromine; state Exp;
14 date 95.12.06.21.05.46; author jromine; state Exp;
19 date 95.12.06.21.00.19; author jromine; state Exp;
24 date 95.12.06.20.57.55; author jromine; state Exp;
35 @fix usage of tr to be acceptable to SYS5
38 @: run this script through /bin/sh
41 CMD=$1 SHOW=more REFILE=N
43 X=$2.tmp Y=$2.out Z=$2
44 trap "rm -f $X $Y" 0 1 2 3 13 15
48 A="`echo $A | tr '[A-Z]' '[a-z]'`"
51 if [ "$A" = "format=mime" ]; then
60 *) echo "usage: pgpshow -store/-show file"
68 if pgp $Z -o $X | tee $Y; then
69 PGP_SIGNATURE=`grep "^Good signature from user " $Y | sed -e 's%^Good signature from user "\(.*\)".$%\1%'`
79 if [ "$REFILE" = "T" ]; then
80 refile -file $Z +inbox
84 *) echo "usage: pgpshow -store/-show file"
101 A="`echo $A | tr A-Z a-z`"
122 trap "rm -f $X" 0 1 2 3 13 15
127 if pgp $Z -o $X; then