delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/08/18:26:26

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_93
X-Spam-Check-By: sourceware.org
Message-ID: <707307.81499.qm@web25001.mail.ukl.yahoo.com>
Date: Wed, 8 Jul 2009 22:26:09 +0000 (GMT)
From: Marco Atzeri <marco_atzeri AT yahoo DOT it>
Subject: R: identical scripts don't behave identically
To: cygwin AT cygwin DOT com, roc97007 <ronc AT europa DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--- Gio 9/7/09, roc97007  ha scritto:

> Da: roc97007=20
> Oggetto: identical scripts don't behave identically
> A: cygwin AT cygwin DOT com
> Data: Gioved=EC 9 luglio 2009, 00:10
>=20
> We have been seeing bizarre results from Cygwin 1.5.25-15
> on Windows Server
> 2003 R2.=A0 I have reduced the problem to the following
> test:
>=20
> I have two files with identical permissions located in the
> same directory:
>=20
> -rwxrwxrwx 1 christian.ron mkpasswd 16 Jul=A0 8 14:56
> aab.sh
> -rwxrwxrwx 1 christian.ron mkpasswd 18 Jul=A0 8 14:38
> aaa.sh
>=20

the 2 files are not equal. I will bet that the largest
(18 vs 16) has dos style termination instead of unix.

> They have identical contents:
>=20
> $ cat aaa.sh
> #!/bin/bash
> ls
>=20
> $ cat aab.sh
> #!/bin/bash
> ls
>=20

try=20
$ dump aa*


> Please help!
> --=20

Regards

__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto =
spazio gratuito per i tuoi file e i messaggi=20
http://mail.yahoo.it


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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