X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Olivier Lefevre Subject: Re: source command horribly broken after Cygwin update Date: Sun, 15 Jul 2007 05:17:25 +0200 Lines: 42 Message-ID: References: <46998E9F DOT 1090803 AT byu DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 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/