X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Eric Lilja 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: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 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 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/