[Top][All Lists]

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

Re: ls -Rd behavior

From: John Cowan
Subject: Re: ls -Rd behavior
Date: Fri, 17 Aug 2007 12:35:28 -0400
User-agent: Mutt/1.5.13 (2006-08-11)

Eric Blake scripsit:

> Since POSIX states "The use of -d with -R produces unspecified results," 
> should 
> we change ls to reject -Rd and -dR as invalid option combinations rather than 
> the current behavior of ignoring -R when -d is present?

Better yet, why not DTRT?

-R is about what objects ls visits; -d is about what it prints when it
visits them.  -Rd, then, should visit every object in the tree below
each argument, printing the same information about each of them
(rather than treating directories specially).

Mos Eisley spaceport.  You will never           John Cowan
see a more wretched hive of scum and            address@hidden
villainy -- unless you watch the                http://www.ccil.org/~cowan
Jerry Springer Show.   --georgettesworld.com

reply via email to

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