[1.7] Backslash incorrectly triggers DOS style path warning

Ken Brown kbrown@cornell.edu
Mon Apr 20 14:24:00 GMT 2009


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 <TAB>
> 
> 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.

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



More information about the Cygwin mailing list