X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
X-Authority-Analysis: v=1.0 c=1 a=xe8BsctaAAAA:8 a=DXLSFxBZz6Ll4ExlXMYA:9  a=m6ZsNlinX7l0zxBhsE4A:7 a=dbtEvyIGiFoz1G0dCAhBKk5II38A:4 a=eDFNAWYWrCwA:10  a=rPt6xJ-oxjAA:10
Message-ID: <48CA5A5C.9080206@byu.net>
Date: Fri, 12 Sep 2008 06:02:36 -0600
From: Eric Blake <ebb9@byu.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080708 Thunderbird/2.0.0.16 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin@cygwin.com, pascal.heude@liebherr.com
Subject: Re: Help on dos2unix
References: <72B97F56A23E3844BB0DEC054CD85C39067A1D64@ltssvex10.lts.liebherr.i> 	 <f60fe000809091459q26da62ddi49412e9e225f8574@mail.gmail.com> 	 <72B97F56A23E3844BB0DEC054CD85C39067A273F@ltssvex10.lts.liebherr.i> 	 <48C86E4E.2070608@byu.net> 	 <72B97F56A23E3844BB0DEC054CD85C3906818457@ltssvex10.lts.liebherr.i> <f60fe000809120351t54dc2917g26d80c12973e780d@mail.gmail.com>
In-Reply-To: <f60fe000809120351t54dc2917g26d80c12973e780d@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Mark J. Reed on 9/12/2008 4:51 AM:
> You top posted again, and you left the email addresses in again.
> Both of those are in violation of the list policy.
> 
> On Fri, Sep 12, 2008 at 6:19 AM, Heude Pascal (LTS) wrote:
>> The command 'type dos2unix' gives the following result : dos2unix is /usr/bin/dos2unix
>> There is also a dos2unix in /bin.
>> It seems that there are identical (at least same name and same size).
> 
> I believe that /usr/bin and /bin in Cygwin refer to the same directory.

Yes, in the default installation, they are mounted to the same location.

> 
> Does the make command work, despite the exit code?  Are the carriage
> returns gone from the file?

One other thing to check is whether make is picking up a different shell
and/or path than what you are using on the command line, and thus using
non-cygwin tools in the process.  In other words, what does 'make all' say
on this file (remember to use tab)?

all:
	@echo $$PATH, $$SHELL
	@which dos2unix
	@dos2unix --version

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjKWlwACgkQ84KuGfSFAYBB9wCgx0l3Abm9UyNiucmU2FoLi+Ny
HbUAmwRGC68sGjITzgZ5u5z45ZdNTeJf
=xEaS
-----END PGP SIGNATURE-----

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

