Hi Michelle,

Michelle> If I must unpack something like an E-mail, make changes to one
Michelle> or more Attachments and mpack it, the unpacked Attachments
Michelle> should be mumeroted to get the same resultat as the
Michelle> originating file.

Either I'm not understanding you or I didn't make myself clear; perhaps
this will help..

I've attached two files, "foo.txt" and "bar.txt", to this message (I
hope).  If you run this email through munpack you'll get two files
called "foo.txt" and "bar.txt", which is correct.

However, if I then run munpack *again* with "foo.txt" and "bar.txt"
*still there*, munpack sees that creating "foo.txt" and "bar.txt" will
overwrite existing files.  This is good.  Its response is to change the
names.  It creates a new file called "foo.txt.1" (which is good), and
another new file called "bar.txt.2" (which I think is a mistake - that
should be "bar.txt.1", not 2).  In shell commands:

  % munpack ~/.Mail/drafts/5
  foo.txt (text/plain)
  bar.txt (text/plain)
  % ls
  bar.txt  foo.desc  foo.txt
  % munpack ~/.Mail/drafts/5
  foo.txt.1 (text/plain)
  bar.txt.2 (text/plain)
#         ^------------------- Should be 1!
  % ls
  bar.txt  bar.txt.2  foo.desc  foo.txt  foo.txt.1  foo.txt.desc
#                  ^---------- Should be 1!

... "bar.txt.2" should be "bar.txt.1".  It's only a small thing, but
still seems like a bug to me.

Conrad
foo
bar

Reply via email to