On Fri, Apr 4, 2014 at 4:40 PM, Giuseppe Scrivano <gscriv...@gnu.org> wrote:
> Hi Karl, > > k...@freefriends.org (Karl Berry) writes: > > > Giuseppe et al., > > > > I suggest making unknown .wgetrc directives a warning (and just ignore > > them, proceeding on normally), rather than a failure. For purposes of > > compatibility - a person might have a brand-new wget on system A, but > > for whatever reason, have to run an older wget on system B. But it's > > convenient to have the same wget regardless. > > In general I tend to agree with you as it makes easier to reuse > the .wgetrc file but I think problems with unknown directives should > still be threated as errors. > It may happen that we will add some security related directive, > and while users rely on wget to honor that, wget instead will simply > ignore it and give the impression it works. > > Unless we add something like --ignore-wgetrc-errors... > I think that's over-engineering the problem. Some time ago, Tim, if I remember correctly proposed using version lines. So, newer commands can be marked as valid under a certain version only. The whole scheme can be made backward compatible by assuming the lack of a version line to imply the current version. -- Thanking You, Darshit Shah