On 2012-06-22, David Champion wrote: > * On 22 Jun 2012, Luis Mochan wrote: > > I guess a solution used for browsing html attachments (discussed > > here some time ago; see attached perl script) may be adapted for > > running libreoffice. The main idea would be to make a copy of the > > file, send it to libreoffice and sleep a short time before returning > > to mutt, > > I usually recommend hard linking (not symbolic linking!) over copying, > if possible.
But that would defeat the purpose of the copy which is to have a stable file for LibreOffice to read while allowing mutt to wipe and delete its temporary file. A hard link would work if it wasn't that mutt wipes the file before unlinking it. Regards, Gary