projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f78e7c6
)
whatnow2: remove get_attachmentheader()
author
Dmitry Bogatov
<KAction@gnu.org>
Fri, 16 Sep 2016 12:22:28 +0000
(15:22 +0300)
committer
Philipp Takacs
<philipp@bureaucracy.de>
Sun, 1 Jan 2017 19:55:24 +0000
(20:55 +0100)
uip/whatnow2.sh
patch
|
blob
|
history
diff --git
a/uip/whatnow2.sh
b/uip/whatnow2.sh
index
22be353
..
2040725
100755
(executable)
--- a/
uip/whatnow2.sh
+++ b/
uip/whatnow2.sh
@@
-78,11
+78,6
@@
get_realpath()
cd $OLDPWD
}
cd $OLDPWD
}
-get_attachmentheader()
-{
- header=`mhparam 'Attachment-Header'`
-}
-
set_lasteditor()
{
anno -delete -number all -component 'last-editor' $mhmetafile
set_lasteditor()
{
anno -delete -number all -component 'last-editor' $mhmetafile
@@
-171,7
+166,7
@@
delete()
attach()
{
attach()
{
- get_attachmentheader
+ header=`mhparam 'Attachment-Header'`
while [ -n "$1" ]
do
if [ ! -f "$1" ]
while [ -n "$1" ]
do
if [ ! -f "$1" ]
@@
-191,13
+186,13
@@
attach()
alist()
{
alist()
{
- get_attachmentheader
+ header=`mhparam 'Attachment-Header'`
anno -list -number -component $header $mhdraft
}
detach()
{
anno -list -number -component $header $mhdraft
}
detach()
{
- get_attachmentheader
+ header=`mhparam 'Attachment-Header'`
while [ -n "$1" ]
do
anno -delete -component $header -number "$1" $mhdraft
while [ -n "$1" ]
do
anno -delete -component $header -number "$1" $mhdraft