Stewart Morgan wrote:
>
> Wasn't there a discussion on something like this ages ago?
> I seem to recall somebody suggesting MD5 checksums to see if a file
> has changed or not and acting acordingly.
>
> If you're worried about maintaining a database of checksums,
> why not place it in the file itself. Of course somebody'll mention
> recursion: if you grep -v CHECKSUM | md5 and compare with grep CHECKSUM,
> you've got something that works and is easy to maintain.
>
That seems a little dangerous - perhaps some of the files will have
md5 appearing in other lines for other reasons, and that would mess
up this simple grep. Perhaps a more complicated tag in the file would
be more appropriate.
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message