From owner-cvs-all Tue Sep 24 17:17:32 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB46737B41B for ; Tue, 24 Sep 2002 17:17:24 -0700 (PDT) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AF5143E4A for ; Tue, 24 Sep 2002 17:17:24 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.6/8.12.5) with ESMTP id g8P0HL4m021832; Tue, 24 Sep 2002 17:17:21 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.12.6/8.12.6/Submit) id g8P0HExb021831; Tue, 24 Sep 2002 17:17:14 -0700 (PDT) Date: Tue, 24 Sep 2002 17:17:14 -0700 From: Steve Kargl To: Mark Valentine Cc: Peter Wemm , "Andrey A. Chernov" , Poul-Henning Kamp , Julian Elischer , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libncurses Makefile Message-ID: <20020925001714.GA21095@troutmask.apl.washington.edu> References: <200209242241.g8OMfWN0081106@dotar.thuvia.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200209242241.g8OMfWN0081106@dotar.thuvia.org> User-Agent: Mutt/1.4i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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