delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/03/15:27:17

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Eric Lilja <mindcooler AT gmail DOT com>
Subject: Simple rm question, removing files that end with a tilde even if they start with a dot
Date: Fri, 03 Nov 2006 21:26:20 +0100
Lines: 16
Message-ID: <eig8lc$ugb$1@sea.gmane.org>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Why doesn't this work? I want to remove .bashrc~ (ls has been aliased to 
include -AF):
hivemind AT mindcooler ~
$ ls
.bash_history   .bashrc*   .emacs*    .emacs.elc*  .ssh/
.bash_profile*  .bashrc~*  .emacs.d/  .inputrc*    coding/

hivemind AT mindcooler ~
$ rm *~
rm: cannot remove `*~': No such file or directory

Obviously I can remove it by naming the file explicitly but I want to 
know why the lines I pasted above doesn't work so I learn something. :-)
rm has not been aliased

/ Eric Lilja


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

- Raw text -


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