Subject: Re: Why no sum?
To: None <,>
From: Chris G. Demetriou <cgd@postgres.Berkeley.EDU>
List: current-users
Date: 02/23/1994 10:10:37
(1) it was AT&T code
(2) unless i'm mistaken, there were two different versions of it,
	which gave different results, depending on whether your were
	on a SysV-ish or an BSD-ish system.
(3) as others have noted, posix has replaced it with 'cksum'.

given (2), anything that relies on a given 'sum' giving the correct
answer is asking for trouble.  given (3), cksum is the right thing
for 'shar' scripts to use.

were we to make a script to "do the right thing", it'd only do the
right thing for, say, half of the 'sum's out there, which means
that it'd do the *wrong* thing for the other half.  If you need
such a script, create it for your system.  it's all of two lines