X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4A442EEA.3030205@gmail.com> Date: Fri, 26 Jun 2009 03:14:02 +0100 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: "bash: $'\r': command not found"; also "e"s nonfunctional and get deleted in bash window References: <318769 DOT 13123 DOT qm AT web111507 DOT mail DOT gq1 DOT yahoo DOT com> In-Reply-To: <318769.13123.qm@web111507.mail.gq1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Richard Haney wrote: > I imagine that the messages involving "\r" have something to do with the > \r\n conventions. So I should mention that I use WordPad to edit > bash-initialization files. That'll be the cause of the problem then; wordpad is a windows program, so it tends to use windows-style CR/LF line ends. You can still use it to edit shell scripts, but always remember to run "d2u" on them afterward. cheers, DaveK -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple