[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ls bug
From: |
Andreas Schwab |
Subject: |
Re: ls bug |
Date: |
Sun, 29 May 2005 17:56:16 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) |
address@hidden writes:
> 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*".
"-R" is not a toggle. But note that it does more that just list the
subdirectories' contents.
-R, --recursive list subdirectories recursively
> This is very hindering for me, and I cannot find that a solution is
> documented.
-d, --directory list directory entries instead of contents,
and do not dereference symbolic links
If you think of "ls" being the same as "ls ." this behaviour becomes
pretty obvious.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- ls bug, thorsten, 2005/05/29
- Re: ls bug,
Andreas Schwab <=
- Re: ls bug, James Youngman, 2005/05/29