I don't know about you guys, but I got tired of PGP's (version 6.5.8)
copyright message. Here's a little script I wrote called
'pgp-no-copyright':

---BEGIN---
#!/bin/sh

PGP_ERR="/tmp/pgperr.$$"
PGP_OUT="/tmp/pgpout.$$"
PGP_EXIT="0"

pgp $* 2>$PGP_ERR 1>$PGP_OUT
PGP_EXIT="$?"

egrep -v '^(Pretty Good Privacy\(tm\) Version |\(c\) 1999 Network Associates Inc.|Uses 
the RSAREF\(tm\) Toolkit, which is copyright RSA Data Security, Inc\.|Export of this 
software may be restricted by the U\.S\. government\.|$)' $PGP_ERR >/dev/stderr
cat $PGP_OUT >/dev/stdout

rm -f $PGP_ERR $PGP_OUT
exit $PGP_EXIT
---END---

Just replace all "pgp" commands in your .muttrc with "pgp-no-copyright".

LateR!
js.
-- 
Jean-Sebastien Morisset, Sr. UNIX Administrator <[EMAIL PROTECTED]>
Personal Homepage <http://jsmoriss.mvlan.net/>
This is Linux Country. On a quiet night you can hear Windows NT reboot!
---------------- please pgp encrypt all correspondence ----------------

PGP signature

Reply via email to