Re: Problem piping *.doc attachment to AbiWord: Deleting the temp file

2002-07-10 Thread John P Verel

On 07/10/02 12:23 -0400, John P Verel wrote:
 
 Time for lunch.  After lunch, I'll amend the macro to delete the temp
 file.
This seems trivial, but I can't get the macro to do this.  If I do rm -f
foo.doc, I get dumped into my editor.  I also can't figure out how to
a) have AbiWord execute and then b) execute the rm after AbiWord exits.

John



Re: Problem piping *.doc attachment to AbiWord: Deleting the temp file

2002-07-10 Thread John P Verel

On 07/10/02 14:52 -0400, Mark J. Reed wrote:
 Mutt should hang around and do nothing until AbiWord exits, so
 you should be able to just append a !rm -f ~/tmp/foo.doc\n
 to your macro. . .
Arrrggh!  Forgot the !  Finished product looks like this and works
just fine.

macro attach a save-entry\cubol~/tmp/foo.doc\n;!AbiWord ~/tmp/foo.doc\n;!rm -f 
~/tmp/foo.doc\n

John