From owner-cvs-all Sun Jan 27 17:16:44 2002 Delivered-To: cvs-all@freebsd.org Received: from gw.nectar.cc (gw.nectar.cc [208.42.49.153]) by hub.freebsd.org (Postfix) with ESMTP id C8E3737B404; Sun, 27 Jan 2002 17:16:37 -0800 (PST) Received: from madman.nectar.cc (madman.nectar.cc [10.0.1.111]) by gw.nectar.cc (Postfix) with ESMTP id 5D2A310; Sun, 27 Jan 2002 19:16:37 -0600 (CST) Received: (from nectar@localhost) by madman.nectar.cc (8.11.6/8.11.6) id g0S1Gbd33998; Sun, 27 Jan 2002 19:16:37 -0600 (CST) (envelope-from nectar) Date: Sun, 27 Jan 2002 19:16:37 -0600 From: "Jacques A. Vidrine" To: Greg Lehey Cc: Mike Barcroft , "Brian F. Feldman" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/uuencode uuencode.1 src/usr.bin/uudecode uudecode.c Message-ID: <20020128011637.GB33952@madman.nectar.cc> Mail-Followup-To: "Jacques A. Vidrine" , Greg Lehey , Mike Barcroft , "Brian F. Feldman" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <200201271821.g0RILN284192@freefall.freebsd.org> <200201272309.g0RN9R599282@green.bikeshed.org> <20020127182308.D10222@espresso.q9media.com> <20020128104442.M72512@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020128104442.M72512@wantadilla.lemis.com> User-Agent: Mutt/1.3.27i X-Url: http://www.nectar.cc/ 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 Mon, Jan 28, 2002 at 10:44:42AM +1030, Greg Lehey wrote: > On Sunday, 27 January 2002 at 18:23:08 -0500, Mike Barcroft wrote: > > Brian F. Feldman writes: > >> Mike Barcroft wrote: > >>> mike 2002/01/27 10:21:23 PST > >>> > >>> Modified files: > >>> usr.bin/uuencode uuencode.1 > >>> usr.bin/uudecode uudecode.c > >>> Log: > >>> Add -o option (POSIX.1-2001) to uudecode(1). Deprecate the -p option > >>> (which allows one to redirect output to stdout); `-o /dev/stdout' is > >>> recommended instead. > >>> > >>> Submitted by: Joseph Mallett > >>> MFC after: 2 weeks > >> > >> How about `-o -'? > > > > "In early drafts, the [-o outfile] option-argument allowed the use of > > - to mean standard output. The symbol - has only been used previously > > in IEEE Std 1003.1-2001 as a standard input indicator. The developers > > of the standard did not wish to overload the meaning of - in this > > manner. The /dev/stdout concept exists on most modern systems. The > > /dev/stdout syntax does not refer to a new special file. It is just > > a magic cookie to specify standard output." > > --POSIX.1-2001 > > God, that's ugly. What was wrong with -p? No kidding. It reads as if when /dev/stdout is specified, rather than passing that string to open(2), the utility should send its output to file descriptor 1... -- Jacques A. Vidrine http://www.nectar.cc/ NTT/Verio SME . FreeBSD UNIX . Heimdal Kerberos jvidrine@verio.net . nectar@FreeBSD.org . nectar@kth.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message