James Youngman wrote:
> [EMAIL PROTECTED] wrote:
> > I am using Redhat Enterprise Linux Advanced Server 4 update 2.  When
> > I issued a command ls -R it showed all the subdirectories, as
> > expected. But when I used a command ls -R *.xml , it didn't
> > recursively list all the xml files. Is it a bug? 
> 
> No.   To find out why, do this in the same directory:
> 
> echo ls -R *.xml
> 
> We should really add this question (and an answer) to the FAQ list.
> I'll think up some wording over the new year period.

Please see the coreutils FAQ:

  http://www.gnu.org/software/coreutils/faq/

Look for "Why doesn't rm -r *.pattern recurse like it should?".

It could use an improved title to make it more likely to be found by a
search.  And any other suggestions are greatly appreciated.

Bob


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to