X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=1.2 required=5.0 	tests=AWL,BAYES_50,RCVD_IN_JMF_BL
X-Spam-Check-By: sourceware.org
From: Bengt Larsson <lists.cygwin@bengtl.net>
To: cygwin@cygwin.com
Subject: Re: Problem with wildcard from Windows
Date: Wed, 17 Feb 2010 21:57:08 +0100
Message-ID: <3olon55i4ds2bqndihl5smf8fl0gfqau1i@4ax.com>
References: <bivmj55gng57ut1ei2e1in1hufms1h90ri@4ax.com>
In-Reply-To: <bivmj55gng57ut1ei2e1in1hufms1h90ri@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hello, I have now tried this in the latest snapshot and now it works.

Bengt Larsson wrote:
>I seem to have a problem with wildcards from the Windows command line
>when there are high-bit characters in a filename.
>
>A directory contains only the two files "user" and "användare"
>("användare" being user in Swedish):
>
>  C:\Documents and Settings\Bengt2\Desktop\test\ttt>ls -l
>  total 0
>  -rw-r--r-- 1 Bengt2 Users 0 2009-12-30 02:23 användare
>  -rw-r--r-- 1 Bengt2 Users 0 2009-12-30 02:23 user
>  
>  C:\Documents and Settings\Bengt2\Desktop\test\ttt>ls u*
>  user
>  
>  C:\Documents and Settings\Bengt2\Desktop\test\ttt>ls a*
>  ls: cannot access a*: No such file or directory
>  
>  C:\Documents and Settings\Bengt2\Desktop\test\ttt>ls *
>  ls: cannot access *: No such file or directory
>
>It works in bash and dash:
>  
>  C:\Documents and Settings\Bengt2\Desktop\test\ttt>bash
>  /users/Bengt2/Desktop/test/ttt: ls u*
>  user
>  /users/Bengt2/Desktop/test/ttt: ls a*
>  användare
>  /users/Bengt2/Desktop/test/ttt: ls *
>  användare  user
>
>I have LANG and CYGWIN set, but not having them set doesn't change the
>outcome.

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

