GNU bug report logs - #18798
ls -Rd = ls -d so maybe warn

Previous Next

Package: coreutils;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Wed, 22 Oct 2014 17:24:01 UTC

Severity: normal

Tags: moreinfo

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 18798 <at> debbugs.gnu.org (full text, mbox):

From: "L. A. Walsh" <coreutils <at> tlinx.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 18798 <at> debbugs.gnu.org
Subject: Re: bug#18798: ls -Rd = ls -d so maybe warn
Date: Wed, 22 Oct 2014 19:28:39 -0700



積丹尼 Dan Jacobson wrote:
> One finds that -d completely nullifies any -R flag of ls,
> so maybe print a warning etc. Or warn on the man page, etc.
What would you want it to do?  "-d" says to show info on the directory
and NOT expand it. 

"-d" says give info on the "name" that you type in rather than any
contents.

The "-R" says to recursively expand any names that point to
directories, but you just told "ls"  to show all of the input
arguments as  names-only (with -d)  and not expand any
contents...  So what can '-R' expand?


I.e. -- what would you expect "-R" to do in such a circumstance
-- or rather, what would you *want* it to do?..

*curious*
Linda...





This bug report was last modified 6 years and 221 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.