> Bob Tennent <[email protected]> wrote: > |For this kind of attachment, I seem to have a choice between > |sending all such attachments to a fixed application or > |using the write command to save to a file or pipe to an > |application. I'd like to select the application based on the > |(extension of) the file name. Is there any convenient way to > |do this? At present, I have to > | > | + capture the file name in the clipboard > | + delete the file name > | + type "| cat filename; application filename" > > well, if there is a file extension you want to trust then setting > the variable *mime-counter-evidence* should do what you want.
Thanks. So I've set mime-counter-evidence and now I'm getting, for e.g., Content-Type: application/octet-stream; name="COMP-2014-07-01.csv" Content-Disposition: attachment; filename="COMP-2014-07-01.csv" and the text. But I want .csv files to be opened by a spreadsheet application such as gnumeric. Bob T. ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ S-nail-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/s-nail-users
