X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fwhatnow2.sh;h=543dbe58e2817d570008b9923b93af194b060e16;hp=2e3cf12532a23d250eab49cf24b647eb6993deeb;hb=4112940aea5591648b03a81907408752c08b33aa;hpb=d272d4a234dad206a18167a2f806ac7628922b19 diff --git a/uip/whatnow2.sh b/uip/whatnow2.sh index 2e3cf12..543dbe5 100755 --- a/uip/whatnow2.sh +++ b/uip/whatnow2.sh @@ -148,7 +148,7 @@ list() exec $mhshowproc -file $mhdraft } -send() +sendfunktion() { export mhaltmsg=`anno -list -component 'mhaltmsg' $mhmetafile` export mhdist=`anno -list -component 'mhdist' $mhmetafile` @@ -156,7 +156,7 @@ send() export mhfolder=`anno -list -component 'mhfolder' $mhmetafile` export mhmessages=`anno -list -component 'mhmessages' $mhmetafile` export mhannotate=`anno -list -component 'mhannotate' $mhmetafile` - exec send "$@" $mhdraft || exit $? + send "$@" $mhdraft || exit $? rm -f $mhmetafile exit 0 } @@ -244,7 +244,7 @@ then version $# ;; *) - echo "no current message in $draftsfolder" 1>&2 + echo "no current message in $draftfolder" 1>&2 usage 1 ;; esac @@ -262,7 +262,7 @@ l|li|lis|list) list ;; s|se|sen|send) - send "$@" + sendfunktion "$@" ;; del|dele|delet|delete) [ $# -eq 0 ] || usage 1