Am 2005-04-06 14:17:11, schrieb Eugene: > I use formail as well. Here's the script for ~/bin/appendmessage: > > ============================== snip here ============================== > #!/bin/sh > > mesg_file="/tmp/message-id" > mesg_id=`cat $mesg_file` > tmp_file="/tmp/mutt_$$_$PPID.tmp" > formail -A "$mesg_id" < $1 > $tmp_file > mv $tmp_file $1 > sleep 1 > ============================== snip here ============================== Why not try: ============================== snip here ============================== #!/bin/sh mesg_file=/tmp/message-id tmp_file=`tempfile` cat $1 |formail -A `cat $mesg_file` > $tmp_file mv $tmp_file $1 ============================== snip here ============================== Tried and it works. Greetings Michelle -- [31mLinux-User #280138 with the Linux Counter, http://counter.li.org/[0m [32mMichelle Konzack [33mApt. 917 [36mICQ #328449886[0m [32m [33m50, rue de Soultz [36mMSM LinuxMichi[0m [32m0033/3/88452356 [33m67100 Strasbourg/France [36mIRC #Debian (irc.icq.com)[0m
Attachment:
signature.pgp
Description: Digital signature