From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31426 invoked by alias); 23 Aug 2016 07:57:45 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 31401 invoked by uid 89); 23 Aug 2016 07:57:44 -0000 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 Received: from out2-smtp.messagingengine.com (HELO out2-smtp.messagingengine.com) (66.111.4.26) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 23 Aug 2016 07:57:33 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 15061204F9 for ; Tue, 23 Aug 2016 03:57:32 -0400 (EDT) Received: from web1 ([10.202.2.211]) by compute3.internal (MEProxy); Tue, 23 Aug 2016 03:57:32 -0400 Received: by mailuser.nyi.internal (Postfix, from userid 99) id D74066A555; Tue, 23 Aug 2016 03:57:31 -0400 (EDT) Message-Id: <1471939051.969254.703288945.63356948@webmail.messagingengine.com> From: Ronald Fischer To: cygwin@cygwin.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:04:00 -0000 X-SW-Source: 2016-08/txt/msg00411.txt.bz2 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