This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

'rm' immune to .exe magic?



  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 <http://www.gnu.org/licenses/gpl.html>.
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]