Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Sep 2002 17:17:14 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Mark Valentine <mark@thuvia.demon.co.uk>
Cc:        Peter Wemm <peter@wemm.org>, "Andrey A. Chernov" <ache@nagual.pp.ru>, Poul-Henning Kamp <phk@critter.freebsd.dk>, Julian Elischer <julian@elischer.org>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/lib/libncurses Makefile
Message-ID:  <20020925001714.GA21095@troutmask.apl.washington.edu>
In-Reply-To: <200209242241.g8OMfWN0081106@dotar.thuvia.org>
References:  <mailpost.1032903222.79620@thuvia.demon.co.uk> <200209242241.g8OMfWN0081106@dotar.thuvia.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 24, 2002 at 11:41:32PM +0100, Mark Valentine wrote:
> > From: sgk@troutmask.apl.washington.edu (Steve Kargl)
> > Date: Tue 24 Sep, 2002
> > Subject: Re: cvs commit: src/lib/libncurses Makefile
> 
> > If we turn off posix in sort(1) to permit " sort +1", then
> > should we add
> > 
> >   warnx("The sort +pos -pos syntax is deprecated.");
> > 
> > to educate the masses.
> 
> Not without a way to turn off the warning, as in "Yeah, I know my code's
> older than some new fangled standard, but I ain't fixing it all right now
> and I don't want the system whining at clients running existing releases of
> my software; if I expected a leading + in file names in my scripts I've
> already protected against it, thank you!".
> 

We already have things in the system that whine at
users if they persist in using them [e.g., gets(3)
and tempnam(3)].  According to Garrett, the "new
fangle standard" has a 9 year history, so you've
had plenty of time to update your scripts.  A
warnx() statement would a be a proactive way to
have users move into the next decade of computing
without altering the sort +pos -pos behavior. 

-- 
Steve

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020925001714.GA21095>