delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/30/15:41:52

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
From: Bengt Larsson <lists DOT cygwin AT bengtl DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: Problem with wildcard from Windows
Date: Wed, 30 Dec 2009 21:40:50 +0100
Message-ID: <2genj5hdgfand1ts9utc8dmdq8ggdcpm5o@4ax.com>
References: <bivmj55gng57ut1ei2e1in1hufms1h90ri AT 4ax DOT com> <20091230183019 DOT GC17448 AT ednor DOT casa DOT cgf DOT cx>
In-Reply-To: <20091230183019.GC17448@ednor.casa.cgf.cx>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Christopher Faylor wrote:
>On Wed, Dec 30, 2009 at 05:36:05PM +0100, 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
>
>I get a different (and slightly more understandable) error
>(not sure how this will translate to my email client from vnc):
>
>c:\tmp> ls a*
>ls: cannot access anvA¤ndare: No such file or directory
>autoruns.chm  autoruns.exe  autorunsc.exe

You mail is a bit garbled, the ? in "användare" should be U+00E4 LATIN
SMALL LETTER A WITH DIAERESIS. But probably any non-7-bit letter will
do.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019