delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/10/11:19:58

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <f9hoo4$i21$2 AT sea DOT gmane DOT org> <2D9E96311DCA4C48BF185EA6928BC7BB023874EA AT asc-mail DOT int DOT ascribe DOT com> <f9hv1n$b4a$1 AT sea DOT gmane DOT org>
Subject: RE: Re: Possible bug: d does not seem to read ~/.d.conf
Date: Fri, 10 Aug 2007 16:19:22 +0100
Message-ID: <040201c7db61$d5eedbe0$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <f9hv1n$b4a$1@sea.gmane.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l7AFJc12021835

On 10 August 2007 16:09, Thorsten Kampe wrote:

> * Phil Betts (Fri, 10 Aug 2007 15:04:11 +0100)
>> Thorsten Kampe wrote on Friday, August 10, 2007 2:21 PM::

>>> These resources don't contradict the info file but state the same.
>>> Fact is that d under Cygwin ignores ~/.d.conf while under Linux it works
>>> as expected. 

>> If you put "hidden-files = true" in ~/.d.conf it works as advertised.
> 
> Phil, please, you don't know what you're talking about and you don't
> know what I and Ronald were talking about.

  Thorsten, he may or may not know what you're talking about, but your statement

  "d under Cygwin ignores ~/.d.conf "

is demonstrably incorrect (see my previous post for that demonstration), and since you wrote (back at the start of the thread):

> I have therefore put
> 
>   hidden-files-shown=true
> 
> into my ~/.d.conf, 

and since I have demonstrated it works fine if you put "hidden-files=true" into your .d.conf instead, this all makes it pretty clear that there is an error in the manual.  From the info page, section "Configuration files":

`hidden-files-shown'
     Boolean option, the same as the command line option
     `--hidden-files-shown'.  *Note Command Line Options::.


From the info page, section "Command line options"

`--hidden-files'
`-H'
     Include hidden files in output.  These are files with a leading
     period in their name.  This defaults to OFF.  Use `-H' (`-H+') or
     `--hidden-files=true' on the command line, or `hidden-files=true'
     in the configuration file, to turn it on.


  Please read more carefully.  Phil has correctly picked up on the difference between "hidden-files=" and "hidden-files-shown=".  The man page is inconsistent, but it does get it right in one place.

  My guess is that the option used to be called "hidden-files-shown" both on the command line *and* in the config file, and somebody decided the "-shown" was superfluous, and removed it, and they only fixed up one part of the manual and forgot to take care of the other.



    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019