www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
References: | <387E9FC1619C0849BA8934938037E54F0F5BC9 AT sv-muc-004 DOT venyon-mail DOT local> <46BC5567 DOT 1070307 AT users DOT sourceforge DOT net> <f9hoo4$i21$2 AT sea DOT gmane DOT org> |
Subject: | RE: Possible bug: d does not seem to read ~/.d.conf |
Date: | Fri, 10 Aug 2007 15:02:03 +0100 |
Message-ID: | <03e401c7db57$07898840$2e08a8c0@CAM.ARTIMI.COM> |
MIME-Version: | 1.0 |
X-Mailer: | Microsoft Office Outlook 11 |
In-Reply-To: | <f9hoo4$i21$2@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 l7AE2KXX008337 |
On 10 August 2007 14:21, Thorsten Kampe wrote: > * Yaakov (Cygwin Ports) (Fri, 10 Aug 2007 07:09:11 -0500) >> Ronald Fischer wrote: >>> From >>> >>> info d >>> >>> we can see that /usr/bin/d is supposed to honour a configuration file >>> ~/.d.conf and that in this file, the boolean variable hidden-files-shown >>> corresponds to the --hidden-files flag in the d command line. >> >> Hmmm, that page of the info appears to be outdated. See the Command >> Line Options section as well as /usr/share/doc/d-1.2.0/d.conf.example >> for current syntax. > > 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. It doesn't ignore it: it works just fine, if you get the option right, and gives you a syntax error if not. Observe: ~ $ d AutoBld/ /home/dk/AutoBld/: rwxr-xr-x dk:Domain Users 0 Aug 10 14:56 .a/ rwxr-xr-x dk:Domain Users 0 Aug 10 14:56 .b/ rwxr-xr-x dk:Domain Users 0 Sep 12 2006 BLDHIST/ rwxr-xr-x dk:Domain Users 0 Aug 10 14:56 c/ rwxr-xr-x dk:Domain Users 0 Aug 10 14:56 d/ rw-r--r-- dk:Domain Users 0 Aug 10 14:56 .g rw-r--r-- dk:Domain Users 0 Aug 10 14:56 .h rw-r--r-- dk:Domain Users 0 Aug 10 14:56 e rw-r--r-- dk:Domain Users 0 Aug 10 14:56 f 4 regular files in directory, with a total size of 0. ~ $ cat .d.conf hidden-files=true ~ $ rm .d.conf ~ $ d AutoBld/ /home/dk/AutoBld/: rwxr-xr-x dk:Domain Users 0 Sep 12 2006 BLDHIST/ rwxr-xr-x dk:Domain Users 0 Aug 10 14:56 c/ rwxr-xr-x dk:Domain Users 0 Aug 10 14:56 d/ rw-r--r-- dk:Domain Users 0 Aug 10 14:56 e rw-r--r-- dk:Domain Users 0 Aug 10 14:56 f 2 regular files in directory, with a total size of 0. ~ $ echo "arfle barfle gloop" > ~/.d.conf ~ $ d AutoBld/ d: runtime error in parse_opt_cfg(): Invalid syntax in ".d.conf" at line 1! Unrecognized option! ~ $ This could well be a case of YMMV. 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |