Originally Posted by
brewbuck
Well, it's definitely non-intuitive, for historical reasons.
The description of what it is suppose to do is intuitive enough, if it means what you are saying. But it obviously does not, because when I try "ls -d *" I do not get a list consisting only of directories. I get *the exact same* output as if I had just used "ls".
Code:
[root~/C] ls
answerone.txt experimental header orig_test.c studentsmark.txt test.txt
a.out fork-return.c input programs test text.file
bin2dec.c functions kernel RECURSION.c test2.c this
diff.patch gtk models SCRAPS.c test3.c tmp.txt
diff.patch2 gtk-app old see test.c
example-usage hacking.h openGL Sphere testfile.txt
[root~/C] ls -d *
answerone.txt experimental header orig_test.c studentsmark.txt test.txt
a.out fork-return.c input programs test text.file
bin2dec.c functions kernel RECURSION.c test2.c this
diff.patch gtk models SCRAPS.c test3.c tmp.txt
diff.patch2 gtk-app old see test.c
example-usage hacking.h openGL Sphere testfile.txt