> Summary: Trying to use rm to do remove all lowercase lettered filenames.
> expedition /src/X11/bin/expect5.32/obj/sol2.8 290 # touch A B C a b c
> expedition /src/X11/bin/expect5.32/obj/sol2.8 291 # rm -rf [a-z]* .[a-z]*
> expedition /src/X11/bin/expect5.32/obj/sol2.8 292 # ls
> A
That is bizarre. But I one more thing to check is what is the shell
doing when it expands those shell metacharacters? Use echo to print
out the command before running it and I hope it will point out the
details that explain the behavior.
Also I can't recreate your problem here.
[bob@torment /tmp]$ mkdir /tmp/testdir
[bob@torment /tmp]$ cd /tmp/testdir
[bob@torment testdir]$ touch A B C a b c
[bob@torment testdir]$ ls
A B C a b c
[bob@torment testdir]$ echo rm -rf [a-z]* .[a-z]*
rm -rf a b c .[a-z]*
[bob@torment testdir]$ rm -rf [a-z]* .[a-z]*
[bob@torment testdir]$ ls
A B C
I strongly suspect something about the files and the shell wildcard
expansion being the problem here.
Bob
_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils