X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Rex Godby 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: References: <004c01c711a9$3671a070$a501a8c0 AT CAM DOT ARTIMI DOT 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 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 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/