X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 20 Apr 2009 17:14:53 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: [1.7] Backslash incorrectly triggers DOS style path warning Message-ID: <20090420211453.GB3143@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <49EC78A0 DOT 6050602 AT cornell DOT edu> <49EC7A7D DOT 2050706 AT cornell DOT edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49EC7A7D.2050706@cornell.edu> User-Agent: Mutt/1.5.16 (2007-06-09) 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 On Mon, Apr 20, 2009 at 09:37:01AM -0400, Ken Brown wrote: > On 4/20/2009 9:29 AM, Ken Brown wrote: >> I just installed the bash-completion package. To see how it worked, I >> typed >> $ ssh >> This yielded: >> $ ssh cygwin warning: >> MS-DOS style path detected: BEGIN {FS=","} >> /^\s*[^|\#]/ {for (i=1; i<=2; ++i) { \ >> gsub(" .*$", "", $i); \ >> if ($i ~ / >> Preferred POSIX equivalent is: BEGIN {FS=","} >> /^/s*[^|/#]/ {for (i=1; i<=2; ++i) { / >> gsub(" .*$", "", $i); / >> if ($i ~ / >> CYGWIN environment variable option "nodosfilewarning" turns off this >> warning. >> Consult the user's guide for more details about POSIX paths: >> http://cygwin.com/cygwin-ug-net/using.html#using-pathnames >> Apparently a line continuation backslash in /etc/bash_completion was >> misinterpreted as an attempt to use DOS style paths. > > Sorry, it might not have been the line continuation backslash. There are > earlier backslashes in the line. It isn't really erroneous. Something (awk) is trying to open a filename with that includes backslashes, so cygwin1.dll thinks that it is trying to open a DOS path. cgf -- 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/