cd $OLDPWD
}
-get_attachmentheader()
-{
- header=`mhparam 'Attachment-Header'`
-}
-
set_lasteditor()
{
anno -delete -number all -component 'last-editor' $mhmetafile
attach()
{
- get_attachmentheader
+ header=`mhparam 'Attachment-Header'`
while [ -n "$1" ]
do
if [ ! -f "$1" ]
alist()
{
- get_attachmentheader
+ header=`mhparam 'Attachment-Header'`
anno -list -number -component $header $mhdraft
}
detach()
{
- get_attachmentheader
+ header=`mhparam 'Attachment-Header'`
while [ -n "$1" ]
do
anno -delete -component $header -number "$1" $mhdraft