gam@amdahl.UUCP (gam) (01/18/85)
Some version of a shar-type program out there is using sum(1) to examine the unshar-ed files, comparing it to the sum of the files at the machine of origin. In 4.2 the sum is taken modulo BUFSIZ (from stdio.h) while in SVR2 it is taken modulo BUFSIZE (defined in sum.c as 512). Great, huh? So let's all agree to do it with 512 or not use sum(1) for machine-independent checksumming. Thank you. -- Gordon A. Moffett ...!{ihnp4,hplabs,sun}!amdahl!gam