projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace lookup tables for obscure hashes with more readable code
[mmh]
/
uip
/
mhpgp.sh
diff --git
a/uip/mhpgp.sh
b/uip/mhpgp.sh
index
f3a39ea
..
ce4d2c8
100755
(executable)
--- a/
uip/mhpgp.sh
+++ b/
uip/mhpgp.sh
@@
-6,7
+6,7
@@
# mhpgp:
# -write: Save the decrypted message to the current folder
# mhpgp:
# -write: Save the decrypted message to the current folder
-usage="Usage: mhpgp [-write] msg"
+usage="Usage: mhpgp [-write] [-Version] [-help] [+folder] [msg]"
# prepend the default options from the profile
set -- `mhparam -nocomp ${0##*/}` "$@"
# prepend the default options from the profile
set -- `mhparam -nocomp ${0##*/}` "$@"
@@
-68,7
+68,7
@@
mimeverify() {
### decrypt MIME and non-MIME messages (type is in $1)
###; invoke the pager as needed
decrypt() {
### decrypt MIME and non-MIME messages (type is in $1)
###; invoke the pager as needed
decrypt() {
- sed -n -e '\
+ sed -n -e '
/^-----BEGIN PGP MESSAGE/b x
d
:x
/^-----BEGIN PGP MESSAGE/b x
d
:x