X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date; q=dns; s= default; b=Vm7YN+EUTc8O5CwCDCmN2lp1UhF5LQnHoKUaiP8rs26qpvmRVjOqp uAejcTM+He4lHgBRrpPQq0qft17Ya7apXKMiJg9npXX5H0nF0AFpNjR27xMlWeq8 BJzSKZ3/0CEQk3mj2M3SuaNEDhgUuBmwDQTSnLxO6jFRdumG5MHlHU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date; s=default; bh=YryAiNfaXMyAoPGxZ+lMU0vJ8+8=; b=jRhR7+V1if3/+svJvhoKQ3tqnf1O QIYgsJCVqUjKW7x+poHPNz2aKlcyzO5d4h24YxGznblHQgC8y+wWp8vVsI/19yDN zFObOQyVOdTIWWnD0lHTBQ8kNHa3PUzRLFdgzkBoyVcKm3A1PV5gb7saEAE60evK BX7rX8LNzICZlMw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=UD:st, ronald, controlled, H*x:Webmail X-HELO: out2-smtp.messagingengine.com Message-Id: <1471939051.969254.703288945.63356948@webmail.messagingengine.com> From: Ronald Fischer To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain Subject: zsh bug: Incorrect (misleading) error message in zsh when using rm and drive letter is specified Date: Tue, 23 Aug 2016 09:57:31 +0200 I observed this: -0-1- ~/exp > rm e:/media/* zsh: sure you want to delete all the files in /home/FISRONA/exp/e:/media [yn]? n We see that zsh is catching the case that I want to rm all files in the specified directory, and warns me about it (note that it is a zsh error message, not a error message from rm), which is fine and expected behaviour (which can be controlled by the zsh option RM_STAR_SILENT). However, the path printed by zsh is wrong: It interprets e:/... as relative path, while it is an absolute path. It seems that zsh is not translating windows pathes using a drive letter to /cygdrive/... pathes in this case. Version information: zsh 5.1.1 (x86_64-unknown-cygwin) Ronald -- 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