Is this a bug, or am I missing something?

habitrail:/tmp/foo
hacksaw > unalias rm
unalias: `rm' not an alias

habitrail:/tmp/foo
hacksaw > unset rm

habitrail:/tmp/foo
hacksaw > touch foo bar baz fum

habitrail:/tmp/foo
hacksaw >  ls
-f  bar  baz  foo  fum

habitrail:/tmp/foo
hacksaw >  rm -i *

habitrail:/tmp/foo
hacksaw > ls
-f

habitrail:/tmp/foo
hacksaw > 

So, it happily removed all the files except -f, completely non-interactively. 
This is certainly bad.

Linux habitrail.home.fools-errant.com 2.2.14-5.0smp #1 SMP Tue Mar 7 21:01:40 
EST 2000 i686 unknown
RedHat 6.2.

hacksaw > rm --version
rm (GNU fileutils) 4.0


Reply via email to