www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <46998E9F.1090803@byu.net> |
Date: | Sat, 14 Jul 2007 21:03:59 -0600 |
From: | Eric Blake <ebb9 AT byu DOT net> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070604 Thunderbird/2.0.0.4 Mnenhy/0.7.5.666 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com, lefevrol AT yahoo DOT com |
Subject: | Re: source command horribly broken after Cygwin update |
References: | <f7c26p$clo$1 AT sea DOT gmane DOT org> |
In-Reply-To: | <f7c26p$clo$1@sea.gmane.org> |
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 |
-----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 AT byu DOT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |