X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Olivier Lefevre <lefevrol@yahoo.com>
Subject:  Re: source command horribly broken after Cygwin update
Date:  Sun, 15 Jul 2007 05:17:25 +0200
Lines: 42
Message-ID: <f7c3qu$fiv$1@sea.gmane.org>
References:  <f7c26p$clo$1@sea.gmane.org> <46998E9F.1090803@byu.net>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 2.0.0.0 (Windows/20070326)
In-Reply-To: <46998E9F.1090803@byu.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

Eric Blake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> According to Olivier Lefevre on 7/14/2007 8:49 PM:
>> Current bash version is 3.2.17(15)-release. When I read an alias file
>> with source weird results ensue. E.g., if the alias file is
>>
>>   alias rm='rm -i'
>>   alias mv='mv -i'
>>
>> then 'source /etc/alias' followed by 'alias' shows
>>
>>   'lias mv='mv -i
>>   'lias rm='rm -i
> 
> Your sourced file has DOS line endings, but you are using a binary mount.
>  Reread the bash release announcement; then either use d2u to convert your
> files to Unix line endings, swap over to using text mounts, or use the
> cygwin-specific igncr bash option to ignore the spurious \r in your files.
> 
> http://cygwin.com/ml/cygwin-announce/2007-05/msg00003.html
> 
> And searching the mailing list would have taught you that this has been
> discussed ad nauseum over the past few months - googling first before
> posting would save some embarrassment on your part.
> 
> - --
> Don't work too hard, make some time for fun as well!
> 
> Eric Blake             ebb9@byu.net
> volunteer cygwin bash maintainer
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Cygwin)
> Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFGmY6f84KuGfSFAYARAj6cAKC31RLR8lWAiKYOrGAYRCuB1UuiPwCgtonY
> uIlKDgPZKsfkszY8Tcv1REk=
> =ZXl4
> -----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/

