From owner-cvs-all Wed May 8 10:42:10 2002 Delivered-To: cvs-all@freebsd.org Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by hub.freebsd.org (Postfix) with ESMTP id BE2FD37B40C for ; Wed, 8 May 2002 10:42:02 -0700 (PDT) Received: (qmail 25183 invoked from network); 8 May 2002 17:42:01 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 8 May 2002 17:42:01 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g48HfxF34276; Wed, 8 May 2002 13:41:59 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 08 May 2002 13:41:52 -0400 (EDT) From: John Baldwin To: Dag-Erling Smorgrav Subject: Re: cvs commit: src/usr.bin/sed main.c sed.1 Cc: "Brian F. Feldman" , "J. Mallett" , "David O'Brien" , Garance A Drosihn , arch@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG 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 08-May-2002 Dag-Erling Smorgrav wrote: > John Baldwin writes: >> I think green was implying that sed would have its own getopt instead >> of changing the system getopt. > > Ugh. Nasty. Especially if the modified getopt() could be useful to > other programs as well (do we have any programs with options that take > optional arguments?) Most people consider optional arguments a bad thing, and apparently they are forbidden by some standards. I think the intent was to discourage other programs from using this "bad" practice by not changing the getopt in libc. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message