X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Rex Godby <rwg3@york.ac.uk>
Subject:  Re: Cygwin-installed /etc/profile supplied appears to be DOS-type  text file
Date:  Mon, 27 Nov 2006 17:51:33 +0000
Lines: 24
Message-ID: <ekf8ji$mv3$1@sea.gmane.org>
References:  <loom.20061126T152600-822@post.gmane.org> <004c01c711a9$3671a070$a501a8c0@CAM.ARTIMI.COM>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 1.5.0.8 (Windows/20061025)
In-Reply-To: <004c01c711a9$3671a070$a501a8c0@CAM.ARTIMI.COM>
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

Thanks.  Indeed, I conclude that I must have edited /etc/profile long, 
long ago (before I understood that this is not advisable), and saved it 
in DOS-style format.  I see in various discussions that bash has 
recently been made intolerant of DOS-style line endings, explaining my 
observation.  (I'll delete my hand-altered /etc/profile and let it be 
overwritten by the official Cygwin version.)  Rex

On 26/11/2006 22:21, Dave Korn wrote:
> On 26 November 2006 14:33, Rex Godby wrote:
> 
>> After updating Cygwin today (26 November 2006), the installed version of
>> /etc/profile appeared to become a DOS-type text file rather than a Unix-type
>> text file.  That caused severe problems (e.g. "unknown command") when
>> starting up the Cygwin login shell.  Correcting the file type back to Unix
>> seems to have solved the problem.
> 
>   There aint no CRs in the one I just downloaded:
>
..
>   Is it possible you've made local modifications to your /etc/profile, so it
> no longer gets upgraded by setup.exe?
> 
>     cheers,
>       DaveK


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

