This is the mail archive of the
mailing list for the Cygwin project.
Re: Re: Spurious warnings about MS-DOS paths
- From: Ryan Johnson <ryanjohn at ece dot cmu dot edu>
- To: Eric Blake <eblake at redhat dot com>
- Cc: cygwin at cygwin dot com
- Date: Fri, 15 Apr 2011 19:37:58 -0400
- Subject: Re: Re: Spurious warnings about MS-DOS paths
- References: <4DA70298.firstname.lastname@example.org>
On 2:59 PM, Eric Blake wrote:
On 04/13/2011 09:10 PM, Ryan Johnson wrote:
I don't have bash-completion(s) installed.
A recent cygwin update has started spewing warnings such as the
following when I do tab completion on a path containing spaces:
Would it be possible to make the check exclude common character escapes?
$ cd ~/Home/Documents/Pcygwin warning:
MS-DOS style path detected: ~/Home/Documents/PC\ reviews\ 2011
Preferred POSIX equivalent is: ~/Home/Documents/PC/ reviews/ 2011
CYGWIN environment variable option "nodosfilewarning" turns off this
Consult the user's guide for more details about POSIX paths:
No, but it probably is an upstream bug the bash-completion package worth
reporting and fixing. Can you use 'set -vx' just before typing the
command that triggers the message, so I can see which command in the
completion function is insufficiently quoting the pathname such that a
glob completion is being inappropriately attempted on escape characters?
If set -vx would be useful with vanilla bash, I'm happy to try it, though.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple