1 : run this script through /bin/sh
2 : $Id: pgpshow.sh,v 1.4 1996/02/09 01:32:45 jromine Exp $
4 CMD=$1 SHOW=more REFILE=N
7 trap "rm -f $X $Y" 0 1 2 3 13 15
11 A="`echo $A | tr '[A-Z]' '[a-z]'`"
14 if [ "$A" = "format=mime" ]; then
23 *) echo "usage: pgpshow -store/-show file"
31 if pgp $Z -o $X | tee $Y; then
32 PGP_SIGNATURE=`grep "^Good signature from user " $Y | sed -e 's%^Good signature from user "\(.*\)".$%\1%'`
42 if [ "$REFILE" = "T" ]; then
43 refile -file $Z +inbox
47 *) echo "usage: pgpshow -store/-show file"