X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E1CF1385B831 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=anrdaemon AT yandex DOT ru DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1584985802; bh=kiKtruO8JwNkAuNVWi7bkHJzv3L1rkzgrnwY0/xXK+g=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=wMjSKnDxuHQnifx1SnF9XScZnYVyJZkz9fSh4EREAKnO3Hoil9hzEUJdymyYl27FV fPFHgvrcWZ8TRlWciWXntbb6NYm/nPzfNrLFj6pqchi0EQP54CgmP/k/tRA+5o1clt 6XPV7IXe7k2lDphDBQ26+znV3X68q82NEvpjZwSs= Authentication-Results: mxback9q.mail.yandex.net; dkim=pass header.i=@yandex.ru Date: Mon, 23 Mar 2020 20:43:57 +0300 From: Andrey Repin X-Mailer: The Bat! (v6.8.8) Home X-Priority: 3 (Normal) Message-ID: <1141191582.20200323204357@yandex.ru> To: Jay Libove , cygwin AT cygwin DOT com Subject: Re: shell expansion produces e.g. "ls: cannot access '*.pdf': No such file or directory" in Windows CMD shell, but works okay in bash In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 02NHoaGO014748 Greetings, Jay Libove! Please no top posting in this mailing list. > Good suggestion, deleting files one by one. It's not just one file, but it > does seem to have something to do with some file name patterns. > I think I've got it. It's accented characters. > I live in Spain. Spanish has accented characters such as "Asociación". > When I remove all files containing any accented character in their name, the problem goes away. > So the theory now is that the Cygwin argv-processing code has a problem with áccented charàcters ... Compare the output of `locale` in Cygwin terminal and your regular console. Most likely your files have names that do not map cleanly to your console codepage, or locale is not set in the native terminal. -- With best regards, Andrey Repin Monday, March 23, 2020 20:40:57 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple