From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5910 invoked by alias); 17 Nov 2001 23:38:24 -0000 Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Received: (qmail 5887 invoked from network); 17 Nov 2001 23:38:21 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sourceware.cygnus.com with SMTP; 17 Nov 2001 23:38:21 -0000 Received: from loony.cygnus.com (loony.cygnus.com [205.180.230.181]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id PAA17014 for ; Sat, 17 Nov 2001 15:38:18 -0800 (PST) Received: (from cgf@localhost) by loony.cygnus.com (8.11.6/8.8.7) id fAHNcNI07503 for cygwin@cygwin.com; Sat, 17 Nov 2001 18:38:23 -0500 Date: Sun, 11 Nov 2001 08:26:00 -0000 From: Christopher Faylor To: cygwin@cygwin.com Subject: Re: Who "fixed" md5sum?? Message-ID: <20011117233823.GA7458@redhat.com> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23.1i X-SW-Source: 2001-11/txt/msg00509.txt.bz2 On Sat, Nov 17, 2001 at 03:53:53PM -0700, Mark Paulus wrote: >I have a question about md5sum. It seems like in one of the not >too distant releases of textutils, the md5sum program altered it's >behaviour. Before the change, it would act like the debian/linux >variety, in that if you would do an >md5sum < >you would get a result, and that would be all, e.g.: > >This is the result from my debian box..... > >mgpaulus@testbox1:/smbapps/cygwin.pkg$ md5sum < setup.exe >d91a97dcd67b7cb9c6aaa408cf431b01 > >Here's the same result, except from my cygwin environment: >$ md5sum < setup.exe >d91a97dcd67b7cb9c6aaa408cf431b01 *- > >My problem is the little '*-' at the end... I have several unix ported scripts >that run md5sum, and expect only the significant md5sum digits, and the >trailing stuff is causing all the scripts to break. Would it be possible >to get either >1) a rational for adding the trailing stuff, and making it act >differently than it's un*x cousin; > >and/or > >2) an ability to turn that "feature" off, >if everyone else absolutely requires it?? md5sum on my linux box returns a '-' in the second column if the md5sum is being performed on standard input. I assume that you are using an older version on your linux system if yours doesn't do that. Inspecting the source, I see that the '*' means that the file is binary. As to why these changes were introduced, you'd have to ask the authors of textutils. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/