This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Pending Packages List, 2003-11-07


On Tue, Nov 11, 2003 at 12:19:19PM -0000, Morrison, John wrote:
> letters@hotpop.com wrote:
> > 
> > Package recompiled and example noved to:
> > 
> >     /etc/defaults/etc/sample.sgreprc
> > 
> > as suggested in Message-ID: <87ad73nbyv.fsf@vzell-de.de.oracle.com>
> > Mon, 10 Nov 2003 22:35:36 +0100 by Daniel Reed
> 
> Jari, *please* call it /etc/defaults/etc/.sgreprc and copy
> *ONLY* if /etc/.sgreprc doesn't already exist :)

While I second the "copy only if..." rule, I don't understand why
the default file should be named ".sgreprc".  The result of the
copy has no leading dot, has it?

The other problem is that files with leading dot are not visible with
`ls' by default.  Giving it a name in the default dir, which makes it
visible, isn't a bad idea, IMHO.

I just don't think /etc/defaults/etc is the right place for the file.
Better choices are

  /etc/defaults/sgreprc
  /usr/share/doc/sgrep/sample.sgreprc

YMMV,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]