Xref: utzoo comp.unix.questions:28475 comp.lang.perl:3887 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!think.com!paperboy!meissner From: meissner@osf.org (Michael Meissner) Newsgroups: comp.unix.questions,comp.lang.perl Subject: Re: Need help with error correction. Message-ID: Date: 6 Feb 91 21:36:23 GMT References: <1991Feb6.142829.20725@dg-rtp.dg.com> Sender: news@OSF.ORG Organization: Open Software Foundation Lines: 22 In-reply-to: hunt@dg-rtp.rtp.dg.com's message of 6 Feb 91 14:28:29 GMT In article <1991Feb6.142829.20725@dg-rtp.dg.com> hunt@dg-rtp.rtp.dg.com (Greg Hunt) writes: | When I've had file transmission problems, I've used sum(1) to produce | a checksum of the file on both the sending side machine and the | receiving side machine and compared the results. If they weren't the | same, then I knew that something got corrupted in the transmission and | I got the file again. | | If the systems you're working with have sum(1) that might be an easy | thing to use. Also, sum(1) will work for any sort of file, it doesn't | just have to be text (which is the only thing diff(1) can look at). The only hitch is that sum(1) produces different results on System V based systems and Berkeley based systems. I think sum -r on System V gives the BSD behavior. -- Michael Meissner email: meissner@osf.org phone: 617-621-8861 Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142 Considering the flames and intolerance, shouldn't USENET be spelled ABUSENET?