Richard A. Hogaboom wrote:
> I use "ls -lR" to list file recursively. Shouldn't I be able to
> do "ls -lR *.c" to see only *.c files recursively also? When I
> do this I get:
>
> capella:rah:hal-0.4.7[63] ls -lR *.c
> ls: *.c: No such file or directory
A common misunderstanding. The answer is documented here:
http://www.gnu.org/software/coreutils/faq/
Look for:
"Why doesn't rm -r *.pattern recurse like it should?"
Bob