X-Spam-Check-By: sourceware.org Date: Tue, 3 Oct 2006 10:44:01 -0400 (EDT) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: Re: updated bash to latest 3.1.17(8)-release; startup has errors now In-Reply-To: <45226750.9090909@cygwin.com> Message-ID: References: <31b7d2790610021512m6093d076i6609b5fc21c55030 AT mail DOT gmail DOT com> <45219876 DOT 40465402 AT dessent DOT net> <20061002230357 DOT GD2949 AT trixie DOT casa DOT cgf DOT cx> <4521A351 DOT 9090906 AT gmail DOT com> <31b7d2790610022224o7db4dc45pea5f4a63cb62dde6 AT mail DOT gmail DOT com> <45226750 DOT 9090909 AT cygwin DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk 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 On Tue, 3 Oct 2006, Larry Hall (Cygwin) wrote: > On 10/03/2006, DePriest, Jason R. wrote: > > > > > vi did not show any unusual line endings (CR/LF) in /etc/profile > > before I sent my message in > > vi/vim will only show you the CR/LF if you tell it to. So if you're > not looking for them, vi/vim may have hidden them from you. You may > want to try 'od -c' on the file(s) in question. Since many people mentioned that they opened the files in question in vim and did not see unusual line endings, here's some non-Cygwin-specific, but relevant, vim info: By default, when vim loads the file in which *all* line endings are CR/LF, it will display the file normally, but show "[dos]" in the status line. It's easy to miss if you're not watching for it. That property can also be queried using "set fileformat?". This behavior can be turned off globally by "set fileformats=unix". Alternatively, "vi -b myfile" will open myfile in binary mode, and will display all CR/LF line endings. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte." "But no -- you are no fool; you call yourself a fool, there's proof enough in that!" -- Rostand, "Cyrano de Bergerac" -- 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/