delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
X-Authority-Analysis: | v=1.0 c=1 a=V50ldCcTU0cA:10 a=hC3Ah902_TcA:10 a=xe8BsctaAAAA:8 a=RTareDFeLsTMsjmvoNkA:9 a=iGgcDQAXo-zEO5VoyCJGX4QL4psA:4 a=eDFNAWYWrCwA:10 a=rPt6xJ-oxjAA:10 |
Message-ID: | <4822EEBB.2070305@byu.net> |
Date: | Thu, 08 May 2008 06:14:51 -0600 |
From: | Eric Blake <ebb9 AT byu DOT net> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com, mirz AT o2 DOT pl |
Subject: | Re: rm: cannot remove `fil*.txt': No such file or directory |
References: | <5501af8c DOT 2ea311e4 DOT 4822ebcb DOT eab08 AT o2 DOT pl> |
In-Reply-To: | <5501af8c.2ea311e4.4822ebcb.eab08@o2.pl> |
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 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to mirz on 5/8/2008 6:02 AM: | sh-3.2$ rm fil*.txt | rm: cannot remove `fil*.txt': No such file or directory | | When I used * with ls it works correct | sh-3.2$ ls fil* | file.txt Why not 'rm fil*' - if ls can use it, then rm can too, because * is expanded by the shell, and not by ls or rm. In the meantime, you might want to try 'ls -Q fil*' - perhaps the reason that 'fil*.txt' fails but 'fil*' works is that the suffix is not truly '.txt' but something cruel like '.txt '. - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9 AT byu DOT net volunteer cygwin coreutils maintainer -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgi7roACgkQ84KuGfSFAYBz6gCfbmoi8gfmwjLkQvffoMIWKn41 HuUAnAmj95CIOXK95vxDI2+V6qnd+4XJ =sHPJ -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |