X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org From: "Dave Korn" To: Subject: 'rm' immune to .exe magic? Date: Fri, 14 Sep 2007 15:58:27 +0100 Message-ID: <024f01c7f6df$b4e47740$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 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 Just checking: is rm supposed to ignore exe magic, then? /artimi/software/firmware $ cp /bin/ls.exe /usr/local/bin/a2.exe ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (Makes no difference if I use "cp /bin/ls /usr/local/bin/a2" either). /artimi/software/firmware $ a2 --version ls (GNU coreutils) 6.7 Copyright (C) 2006 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License . There is NO WARRANTY, to the extent permitted by law. Written by Richard Stallman and David MacKenzie. /artimi/software/firmware $ which a2 /usr/local/bin/a2 /artimi/software/firmware $ rm `which a2` rm: cannot remove `/usr/local/bin/a2': No such file or directory /artimi/software/firmware $ which a2 /usr/local/bin/a2 /artimi/software/firmware $ rm `which a2`.exe /artimi/software/firmware $ which a2 a2: Command not found. /artimi/software/firmware $ cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/