'rm' immune to .exe magic?

Dave Korn dave.korn@artimi.com
Fri Sep 14 14:58:00 GMT 2007



  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/



More information about the Cygwin mailing list