Explanation of storeparts

[previous] [next] [table of contents] [index]

The Section Partial Messages gives an overview of this script. Here is the storeparts script (you might want to open it in a separate browser window). To install it, see the Section Programs in This Book's Archive.

The script is simple. It extracts the Content-type: header field from the message and gets the id= information from the field. Then it uses pick to search for messages matching that id. pick stores the messages in a sequence named temp. You might want to customize storeparts to use a different sequence name -- or to accept a -sequence option on the command line (and, if you want to be really fancy, have it check your MH profile too).

[Table of Contents] [Index] [Previous: Explanation of showpr] [Next: Explanation of xmhprint]


Last change $Date: 1996/06/06 15:09:55 $

This file is from the third edition of the book MH & xmh: Email for Users & Programmers, ISBN 1-56592-093-7, by Jerry Peek. Copyright © 1991, 1992, 1995 by O'Reilly & Associates, Inc. This file is freely-available; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. For more information, see the file copying.htm.

Suggestions are welcome: Jerry Peek <jpeek@jpeek.com>