delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | mwoehlke <mwoehlke AT tibco DOT com> |
Subject: | Re: Bash problem - v3.1.17(8) - syntax error |
Date: | Tue, 26 Sep 2006 15:50:36 -0500 |
Lines: | 37 |
Message-ID: | <efc3qs$iij$2@sea.gmane.org> |
References: | <45197B3B DOT 2070205 AT unix DOT telasic DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.0 |
In-Reply-To: | <45197B3B.2070205@unix.telasic.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
Arun Biyani wrote: > I just upgraded to the current bash. Now I am getting an error. I > reinstalled, rebooted > the machine. Still get the same error. The variable $HOME is set correctly. > > > bash: /c/home/abiyani/.bash_login: line 7: syntax error: unexpected > end of file > > > > abiyani AT IT90-1070 ~ > > $ bash --version > > GNU bash, version 3.1.17(8)-release (i686-pc-cygwin) > > Copyright (C) 2005 Free Software Foundation, Inc. > > > > abiyani AT IT90-1070 ~ > > $ cat ~/.bashrc > > # > > if [ -f $HOME/wrk/sys/com/bash_more ] > > then > > . $HOME/wrk/sys/com/bash_more > > fi > > # > > > > > > abiyani AT IT90-1070 ~ Just for the record, the release announcement did mention: "A script on a binary mount that uses \r\n line endings will probably encounter syntax errors or odd variable assignments, because the \r is treated literally. If this happens to you, use d2u to fix the line endings, or change your script to live in a text mount point. A script that resides on a text mount can have either line ending (even inconsistently mixed), but be aware that text mount points are slower, due to \r\n filtering." -- Matthew Download. Untar. Configure. Make. Install. Lather. Rinse. Repeat. -- 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 |