delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/17/17:54:57

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Mark Paulus" <mpaulus77 AT earthlink DOT net>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Sat, 17 Nov 2001 15:53:53 -0700
Reply-To: "Mark Paulus" <mpaulus77 AT earthlink DOT net>
X-Mailer: PMMail 2000 Professional (2.10.2010) For Windows 2000 (5.1.2600)
MIME-Version: 1.0
Subject: Who "fixed" md5sum??
Message-Id: <E165ELn-000204-00@swan.prod.itd.earthlink.net>

Hi,

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 < <somefile>
you would get a result, and that would be all, e.g.:

This is the result from my debian box.....

mgpaulus AT 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??

Thanks....



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019