W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2002

Re: Config file suggestion (fwd)

From: Dale J. Chatham <dale@chatham.org>
Date: Tue, 9 Apr 2002 19:12:31 -0400 (EDT)
To: Klaus Johannes Rusch <KlausRusch@atmedia.net>
Cc: <html-tidy@w3.org>
Message-ID: <Pine.LNX.4.33L2.0204091809100.25069-100000@fugue.chatham.org>
On Wed, 10 Apr 2002, Klaus Johannes Rusch wrote:

> Dale
>
> > On the UNIX side, I think you should consider default locations for
> > configuration files.  I would think that all of the following should be
> > searched, with the first hit of a confirmed file specifying the file:
> >
> > `pwd`/tidyrc
> > `pwd`/.tidyrc
> > Environmnet variable
> > ~/.tidyrc
> > ~/etc/tidyrc
> > /etc/tidyrc
> >
> > This conforms to UNIX conventions and would allow various levels of
> > standards for the way HTML should look.
>
> this may be on the requested feature list already, otherwise may I suggest you
> add this to under http://tidy.sf.net for tracking purposes and to avoid
> duplication of your work -- certainly would make sense to support common paths
> (for Windows and OS/2 probably %DPATH%\.tidyrc could be supported too)
>
> I would vote for a single filename though, not multiple filenames.

The multiple filenames duplicates the rc files for bash, csh, sh.  If you
go for a single file, please go for ~/.tidyrc  The multiple gives a lot of
possibilities for localizing configuration, though.

>
>

-- 
Received on Thursday, 11 April 2002 03:21:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:52 GMT