alexander wrote:
i'll attach a script i use for forwarding attachments. it
handles the common binary types i use, plain files, and mail
messages, based on interpreting its arguments. it produces the
You should really just use file(1) here. It will give you mime-types
and sutible descriptions for free, and doesn't rely on file extensions.
huh. someone added a "-i" option to file(1) sometime in the last
25 years, and they didn't tell me! :-)
(thanks!)
paul
=---------------------
paul fox, pgf@foxharp.boston.ma.us (arlington, ma, where it's 41.5 degrees)
_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
http://lists.nongnu.org/mailman/listinfo/nmh-workers