bug in rm???
Joolz
joolz at xs4all.nl
Sat Jan 3 10:16:24 UTC 2004
Just a moment ago something weird happened. I was cleaning up files
and noticed a very strange behaviour of the rm command. AFAIK Linux is
case-sensitive, so you van have three files TeST, test and TEST in one
directory. But I deleted more than I wanted to (no big deal, rm is the
issue)
So I tried this:
#!/bin/bash
touch TEST
touch TeST
touch test
ls # all three are there
rm te*
ls # ALL THREE ARE GONE???
IMO this is _very_ dangerous behaviour, one would expect Linux command
to be compatible with the Linux filesystem (maybe rm is a port of del
:-\)
Is this a known issue? Right know I have only Fedora at hand, but I
wonder if other distro's have it too.
--
11:11-11:16
Fedora Core release 1 (Yarrow) Linux 2.4.22-1.2129.nptl
More information about the fedora-list
mailing list