This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

R: identical scripts don't behave identically


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

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

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:
> 
> $ cat aaa.sh
> #!/bin/bash
> ls
> 
> $ cat aab.sh
> #!/bin/bash
> ls
> 

try 
$ dump aa*


> Please help!
> -- 

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]