delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/11/24/10:41:16

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.4.1 sourceware.org 7D3C43858C39
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=plebeian.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=plebeian.com
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=plebeian.com; s=default; h=Content-Transfer-Encoding:Content-Type:
Message-ID:References:In-Reply-To:Subject:To:From:Date:MIME-Version:Sender:
Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:
Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:
List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;
bh=xwLhdTuXOG3tIi12J5ss/MuywyYEEFEWdN9lvOqZ1qs=; b=CqsLLmSSfaiMEeB23NDHKE3OIw
jnBRSR51/JyHU27N1xpJtRZ98vEgu1vlTQAE2nphLhJ9ihdD+9hmXh4E8WocA/t8oo6OptFtxpJlb
rCMGVTMbiP0C5cirFmfMVheY1pz4o0FBNU1+NER5vQAslGkVf3n9da9WzJ4K0gKU+dsLxvWalfxpB
hag5HSdgC+AvN9Du0efMu1UOXNwW8yA7f+IBauXKY/OKJn4ZUloOete2P5Nr6UkJ/hEl4Xz/Hym76
bbhIJ5iKknRNq8PclWWJ1P8L1Zo+Td9DpSxhP9o5OAsB5e/FDKtl4/M41MXe0wdOieh6EHr+uVGal
35uGqPNw==;
MIME-Version: 1.0
Date: Wed, 24 Nov 2021 10:40:36 -0500
From: Chris Wagner <wagnerc AT plebeian DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Could rm remove files and folders with colon in their name?
In-Reply-To: <YYwuGBM5JCXoMxZF@calimero.vinschen.de>
References: <e2bbb443-b876-40fe-ca58-ab0c7d064f7b AT emmenlauer DOT de>
<YYvN4unktsDraw4g AT calimero DOT vinschen DOT de>
<d4cfb303-60d9-e53c-d75f-a96f8fbf11b7 AT emmenlauer DOT de>
<YYwuGBM5JCXoMxZF AT calimero DOT vinschen DOT de>
User-Agent: Roundcube Webmail/1.4.11
Message-ID: <7c0bd10d2f8adbe2066fb21dc5ce1b09@plebeian.com>
X-Sender: wagnerc AT plebeian DOT com
X-AntiAbuse: This header was added to track abuse,
please include it with any abuse report
X-AntiAbuse: Primary Hostname - www16.qth.com
X-AntiAbuse: Original Domain - cygwin.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - plebeian.com
X-Get-Message-Sender-Via: www16.qth.com: authenticated_id: wagnerc AT plebeian DOT com
X-Authenticated-Sender: www16.qth.com: wagnerc AT plebeian DOT com
X-Source:
X-Source-Args:
X-Source-Dir:
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_05, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,
SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On 2021-11-10 3:39 pm, Corinna Vinschen via Cygwin wrote:
> To the contrary.  The problem is the ambiguity that "X:/foo" might
> be either the absolute POSIX path $CWD/X:/foo, or the absolute DOS
> path "X:\foo".  I have a patch which fixes your case, but not much
> else.  The problem is that we historically allow DOS paths as input
> at all.  That was a bad decision from the start, but you can't easily
> change 25 years of history...

To contribute my 2 cents, native support for DOS paths is invaluable for 
me.  Changeing that would break a lot of Windows/POSIX integration.

The simple fix for all weird/ambiguous names is to qualify it with 
`./...`.

Thanks.

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

- Raw text -


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