DISSECT

Section: User Commands (1)
Updated: 20 January 1989
Index Return to Main Contents
 

NAME

dissect - Break up an mbox into smaller mboxes
count - Count number of articles in an mbox  

SYNOPSIS

dissect filename1 [ filename2 ... ]
count filename1 [ filename2 ... ]
 

DESCRIPTION

dissect reads through one or more files in mbox format (eg. the file mbox created by most "mail" programs, and the newsgroup files created by rn(1)). It creates new files, each named after the sender of an item of mail in one of the specified mboxes, and in that file, deposits copies of all mail sent by that user, so that together, the new files contain exactly the same data as the old ones. If the files that would be created already exist, then dissect will append the news items in the specified mboxes onto the end of the existing files. dissect will refuse to overwrite any of its arguments.

count counts how many articles are in each mbox specified on the command-line, and prints this on standard output.  

EXAMPLES

example% ls
mbox
example% dissect mbox
example% ls
VIRUS-L cee074 erict jec1 mbox
andy chip.uucp hjt martin weemba
example% count mbox martin hjt
count: 11 items of mail in input file mbox.
count: 1 items of mail in input file martin.
count: 1 items of mail in input file hjt.
example% dissect hjt
dissect: won't overwrite input file hjt.  

SEE ALSO

mail(1), rn(1),  

BUGS

dissect creates the new files using only the local name of the user who sent the mail item being saved - thus a piece of mail sent by a user mirk@uk.ac.warwick.cs would be saved in a file called simply mirk.  

AUTHOR

dissect and count were written by Michael Taylor (mirk@uk.ac.warwick.cs) in the early hours of the morning of Friday, 20th January, 1989, on Warwick University's Sun3 "emerald".


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
SEE ALSO
BUGS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 06:55:37 GMT, December 12, 2024