bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ls bug


From: James Youngman
Subject: Re: ls bug
Date: Sun, 29 May 2005 17:35:04 +0100
User-agent: Mutt/1.3.28i

On Sun, May 29, 2005 at 05:03:14PM +0200, address@hidden wrote:
> Hello,
> 
> when doing an ls, I do not get the subdirectories' content listed. When
> doing ls -R, I get it listed, and this is fine so.
> When doing "ls in*", I do get the subdirectories' content listed, although
> I do not want this, and I cannot toggle this off with "ls -R in*". This is
> very hindering for me, and I cannot find that a solution is documented.

There will not ever be a "solution" to this.  It is not a bug.  It is
the defined behaviour of "ls".  The second paragraph of the
documentation for "ls" tells us this:

|| For non-option command-line arguments that are directories, by
|| default `ls' lists the contents of directories, not recursively,
|| and omitting files with names beginning with `.'.  For other
|| non-option arguments, by default `ls' lists just the file name.  If
|| no non-option argument is specified, `ls' operates on the current
|| directory, acting as if it had been invoked with a single argument
|| of `.'.

> Do you have a bugzilla for that or can I somehow help you on fixing this ?

It's not a bug - please read the documentation!  You might find the -H
and -d options helpful.

James.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]