X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4BF4081F.8000201@bopp.net>
Date: Wed, 19 May 2010 10:47:43 -0500
From: Jeremy Bopp <jeremy@bopp.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: bash - command - PATH question
References: <3185EFAF9C8F7B4E9DBDF56829BF7C78378E8F0B@srv060ex01.ssd.fsi.com> <4BF3FC7A.8030705@bopp.net> <3185EFAF9C8F7B4E9DBDF56829BF7C78378E8F33@srv060ex01.ssd.fsi.com> <ht102a$5fg$1@dough.gmane.org> <3185EFAF9C8F7B4E9DBDF56829BF7C78378E8F3E@srv060ex01.ssd.fsi.com> <ht10jg$6t6$1@dough.gmane.org>
In-Reply-To: <ht10jg$6t6$1@dough.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1
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

On 5/19/2010 10:37 AM, Andrew DeFaria wrote:
> On 05/19/2010 08:31 AM, Rockefeller, Harry wrote:
>>> Again, have you tried dos2unix foo?
>> Yes this didn't help.
> That's funny because this is the usual cause. Are you sure there is no
> extra carriage return line endings. I usually check by going into vim
> and seeing if it says [DOS} at the bottom (there are other ways).

Running od -c on the file is a pretty quick and simple way to check.  If
you see \r in the output, you most likely have at least a few Windows
line endings in the file.

-Jeremy

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

