Hi,

> > ? save 402[1] test

Both save and Save operate on entire messages (it is definitely a bug
that it accepts the subpart specification).  Since mailutils version
3.14, the write and Write commands have been modified to operate on
message parts as well.  E.g.:

 ? struct 4
 4.1              text/plain; name="msg.21"; charset="us-ascii"  489
 4.2.1            application/octet-stream; name="msg.22"  656
 4.2.2.1          application/octet-stream; name="msg.23"  661
 4.2.2.2          application/octet-stream; name="msg.24"  672
 # Write part 4.2.2.2 to the file "out".  The output is decoded
 # as necessary, hence the difference in sizes.  Notice, that mailutils
 # 3.14 uses dot as the message part separator, instead of [].
 ? write 4.2.2.2 out
 "/home/gray/out"   9/366
 # Write the part to the file named by the sender of the message:
 ? Write 4.2.2.2
 "/home/gray/smith"   9/366
 
Regards,
Sergey

Reply via email to