nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Attaching a zip file

2007-02-25 21:57:59
Would some kind and generous person be willing to tell me, given a file name 
and
the output of "file -i" applied to that file, how to generate text suitable f
or
inclusion in an Email as grist for mime, using some language I understand. Th
at
is, English, C, Perl, or Java but not Python.

Just in case the other scripts that people have posted aren't what you want,
something like

---
#!/bin/sh

echo "#`file -b -i $1`; name=\"$1\" $1"
---

might be what you're after.

Cheers,

        - Joel


_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Nmh-workers] Attaching a zip file, Joel Reicher <=