[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: possible bug of ls in Redhat Enterprise Linux AS 4 Update 2
From: |
Bob Proulx |
Subject: |
Re: possible bug of ls in Redhat Enterprise Linux AS 4 Update 2 |
Date: |
Fri, 23 Dec 2005 09:46:43 -0700 |
User-agent: |
Mutt/1.5.9i |
James Youngman wrote:
> address@hidden 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