mapping files to objects
Mike McDonald
mikemac@titian.engr.sgi.com
Tue, 06 May 1997 13:12:13 -0700
>To: Luca Pisati <pisati@nichimen.com>
>Subject: Re: mapping files to objects
>From: cwg@deepeddy.com
>Date: Tue, 06 May 1997 14:45:27 -0500
>Whatever we do, I want to make sure that it's possible for me to determine
>that the files in /var/spool/mail are mbox files w/o having to put anything
>additional in that directory.
>
>Chris
If the first 5 characters in the file are "From ", there's a VERY
good chance that it is a mbox. You don't actually know until you try
to parse it as an mbox though. That's the only reliable way to know
too.
Mike McDonald
mikemac@engr.sgi.com