From owner-freebsd-standards@FreeBSD.ORG Sun Oct 30 18:27:13 2005 Return-Path: X-Original-To: freebsd-standards@freebsd.org Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E652216A41F for ; Sun, 30 Oct 2005 18:27:13 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A77643D46 for ; Sun, 30 Oct 2005 18:27:13 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.13.4/8.13.4) with ESMTP id j9UIR7um019041; Sun, 30 Oct 2005 10:27:07 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.4/8.13.1/Submit) id j9UIR2lj019040; Sun, 30 Oct 2005 10:27:02 -0800 (PST) (envelope-from sgk) Date: Sun, 30 Oct 2005 10:27:02 -0800 From: Steve Kargl To: Bruce Evans Message-ID: <20051030182702.GA18998@troutmask.apl.washington.edu> References: <20051005032400.GA6736@troutmask.apl.washington.edu> <20051005191936.N51036@delplex.bde.org> <20051006212602.GA40609@troutmask.apl.washington.edu> <20051007231439.F58005@delplex.bde.org> <20051007190239.GA78674@troutmask.apl.washington.edu> <20051008052850.S59139@delplex.bde.org> <20051010185153.GA55589@troutmask.apl.washington.edu> <20051012160109.I73531@delplex.bde.org> <20051016184129.GA24651@troutmask.apl.washington.edu> <20051021194624.H598@epsplex.bde.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="X1bOJ3K7DJ5YkBrT" Content-Disposition: inline In-Reply-To: <20051021194624.H598@epsplex.bde.org> User-Agent: Mutt/1.4.2.1i X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-standards@freebsd.org Subject: Re: complex.h math functions X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2005 18:27:14 -0000 --X1bOJ3K7DJ5YkBrT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Oct 21, 2005 at 08:50:53PM +1000, Bruce Evans wrote: > On Sun, 16 Oct 2005, Steve Kargl wrote: > > >On Wed, Oct 12, 2005 at 05:23:28PM +1000, Bruce Evans wrote: > > >Hopefully, this new version is closer to KNF. > > It still has only 4 chars for all secondary indents Strange. Hopefully fixed. I also removed the additional space in the comments after the *. This, of course, will make a diff fairly large, so I've attached s_ccosh.c. > >>use it. Listing all the special cases also serves as documentation. > >>I think the current order of special cases is not quite the best, > >>however. > > > >I don't follow why you think the special cases need to be re-order. > >Without knowing how the user base will abuse ccosh, there should > >be no prefered order. > > The current order is almost that in the standard. This order is not > bad but it might not give the simplest or shortest classification. > In particular, I think it might be better to group by 0's before > grouping by Infs and NaNs. I've re-arrange the code to do x = 0 and then y = 0 cases after the nearly-non-exceptional case. You may want to flip x = 0 and y = 0. I did not do this because I did not want to mess up your explanation of choice of signs. (discussion man page diff) > >>OK; could be more detailed. > > > >Do you want a section that describes the range of inputs that > >return a non-infinite results? Do you want a section that > >describes the return value and the exceptional cases? I'll > >have to do this later because I'll need to learning some > >additional mdoc features. > > Exceptional cases are mostly not described at all for the real functions, > so I wouldn't describe them better for the complex functions. I was > thinking mainly of doumenting the intention that the error is < 2 ulps > and noting cases where this isn't implemented in the BUGS section. You understand the ULPs better than I. If you don't have time or want to mess with mdoc, I'll write the section but you need to supply the knowledge. -- Steve --X1bOJ3K7DJ5YkBrT-- From owner-freebsd-standards@FreeBSD.ORG Mon Oct 31 07:56:53 2005 Return-Path: X-Original-To: freebsd-standards@freebsd.org Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69D5916A41F for ; Mon, 31 Oct 2005 07:56:53 +0000 (GMT) (envelope-from bde@zeta.org.au) Received: from mailout2.pacific.net.au (mailout2.pacific.net.au [61.8.0.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC43D43D49 for ; Mon, 31 Oct 2005 07:56:52 +0000 (GMT) (envelope-from bde@zeta.org.au) Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87]) by mailout2.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id j9V7uoUk003221; Mon, 31 Oct 2005 18:56:50 +1100 Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailproxy2.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id j9V7umtv023260; Mon, 31 Oct 2005 18:56:49 +1100 Date: Mon, 31 Oct 2005 18:56:48 +1100 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Steve Kargl In-Reply-To: <20051030182702.GA18998@troutmask.apl.washington.edu> Message-ID: <20051031184647.Q38664@delplex.bde.org> References: <20051005032400.GA6736@troutmask.apl.washington.edu> <20051005191936.N51036@delplex.bde.org> <20051006212602.GA40609@troutmask.apl.washington.edu> <20051007231439.F58005@delplex.bde.org> <20051007190239.GA78674@troutmask.apl.washington.edu> <20051008052850.S59139@delplex.bde.org> <20051010185153.GA55589@troutmask.apl.washington.edu> <20051012160109.I73531@delplex.bde.org> <20051016184129.GA24651@troutmask.apl.washington.edu> <20051021194624.H598@epsplex.bde.org> <20051030182702.GA18998@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-standards@freebsd.org Subject: Re: complex.h math functions X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 07:56:53 -0000 On Sun, 30 Oct 2005, Steve Kargl wrote: > On Fri, Oct 21, 2005 at 08:50:53PM +1000, Bruce Evans wrote: >> On Sun, 16 Oct 2005, Steve Kargl wrote: >> >>> On Wed, Oct 12, 2005 at 05:23:28PM +1000, Bruce Evans wrote: >> >>> Hopefully, this new version is closer to KNF. >> >> It still has only 4 chars for all secondary indents > > Strange. Hopefully fixed. It's not :-). E.g.: % /* Handle the nearly-non-exceptional cases where x and y are finite. */ % if (ix < 0x7ff00000 && iy < 0x7ff00000) { % if ((iy | ly) == 0) ^^^^ % return (cpack(cosh(x), x * y)); % return (cpack(cosh(x) * cos(y), sinh(x) * sin(y))); % } fdlibm actually mostly uses this style, with all indents 4 chars after the first normal 1-tab one. I don't want to use this for new code and the fdlibm maintainers show signs of switching to normal indentation in k_tan.c. > I also removed the additional > space in the comments after the *. This, of course, will > make a diff fairly large, so I've attached s_ccosh.c. > ... >> The current order is almost that in the standard. This order is not >> bad but it might not give the simplest or shortest classification. >> In particular, I think it might be better to group by 0's before >> grouping by Infs and NaNs. > > I've re-arrange the code to do x = 0 and then y = 0 cases > after the nearly-non-exceptional case. You may want to > flip x = 0 and y = 0. I did not do this because I did not > want to mess up your explanation of choice of signs. I'll merge with it and see if there is more to clean up. Bruce From owner-freebsd-standards@FreeBSD.ORG Mon Oct 31 11:02:46 2005 Return-Path: X-Original-To: freebsd-standards@freebsd.org Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D4D616A41F for ; Mon, 31 Oct 2005 11:02:46 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABC7743D73 for ; Mon, 31 Oct 2005 11:02:30 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9VB2UOK009115 for ; Mon, 31 Oct 2005 11:02:30 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9VB2Tkx009109 for freebsd-standards@freebsd.org; Mon, 31 Oct 2005 11:02:29 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 31 Oct 2005 11:02:29 GMT Message-Id: <200510311102.j9VB2Tkx009109@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-standards@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 11:02:46 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/03/05] bin/25542 standards /bin/sh: null char in quoted string o [2002/12/13] kern/46239 standards posix semaphore implementation errors o [2003/04/21] standards/51209standards [libc] [patch] new feature: add a64l()/l6 o [2003/07/12] standards/54410standards one-true-awk not POSIX compliant (no exte o [2005/06/25] standards/82654standards C99 long double math functions are missin 5 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/09/24] bin/21519 standards sys/dir.h should be deprecated some more o [2001/01/16] bin/24390 standards Replacing old dir-symlinks when using /bi s [2001/01/24] standards/24590standards timezone function not compatible witn Sin s [2001/06/18] kern/28260 standards UIO_MAXIOV needs to be made public p [2001/11/20] standards/32126standards getopt(3) not Unix-98 conformant s [2002/03/19] standards/36076standards Implementation of POSIX fuser command o [2002/06/14] standards/39256standards snprintf/vsnprintf aren't POSIX-conforman p [2002/08/12] standards/41576standards POSIX compliance of ln(1) o [2002/10/23] standards/44425standards getcwd() succeeds even if current dir has o [2002/12/09] standards/46119standards Priority problems for SCHED_OTHER using p o [2002/12/21] standards/46441standards /bin/sh does not do parameter expansion i o [2003/07/25] standards/54833standards [pcvt] more pcvt deficits o [2003/07/25] standards/54839standards [pcvt] pcvt deficits o [2003/07/31] standards/55112standards glob.h, glob_t's gl_pathc should be "size o [2003/09/05] standards/56476standards cd9660 unicode support simple hack o [2003/10/29] standards/58676standards grantpt(3) alters storage used by ptsname s [2004/02/14] standards/62858standards malloc(0) not C99 compliant s [2004/03/29] kern/64875 standards [libc] [patch] [feature request] add a sy o [2004/05/07] standards/66357standards make POSIX conformance problem ('sh -e' & o [2004/05/11] standards/66531standards _gettemp uses a far smaller set of filena o [2004/08/22] standards/70813standards [PATCH] ls(1) not Posix compliant o [2004/08/26] docs/70985 standards [patch] sh(1): incomplete documentation o o [2004/09/22] standards/72006standards floating point formating in non-C locales o [2005/03/20] standards/79055standards Add an IFS regression test for shells o [2005/03/20] standards/79056standards regex(3) regression tests o [2005/03/21] standards/79067standards /bin/sh should be more intelligent about a [2005/04/23] standards/80293standards sysconf() does not support well-defined u o [2005/05/20] standards/81287standards [PATCH]: fingerd(8) might send a line not o [2005/07/21] standards/83845standards [libm] [patch] add log2() and log2f() sup o [2005/08/18] standards/85080standards output of long double subnormals (with pr o [2005/08/18] standards/85090standards [patch] add memalign() and posix_memalign 31 problems total. From owner-freebsd-standards@FreeBSD.ORG Mon Oct 31 17:14:52 2005 Return-Path: X-Original-To: standards@FreeBSD.org Delivered-To: freebsd-standards@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DCA216A420 for ; Mon, 31 Oct 2005 17:14:52 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from pittgoth.com (ns1.pittgoth.com [216.38.206.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4BB543D45 for ; Mon, 31 Oct 2005 17:14:51 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from localhost (ip68-105-180-11.dc.dc.cox.net [68.105.180.11]) (authenticated bits=0) by pittgoth.com (8.13.4/8.13.4) with ESMTP id j9VHQYCb002416 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 31 Oct 2005 12:26:34 -0500 (EST) (envelope-from trhodes@FreeBSD.org) Date: Mon, 31 Oct 2005 12:14:42 -0500 From: Tom Rhodes To: standards@FreeBSD.org Message-Id: <20051031121442.5f7fdff8.trhodes@FreeBSD.org> X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Listing FreeBSD extentions as such in utilities X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 17:14:52 -0000 Hey, I was working on a script to be used on Solaris, FreeBSD, and Linux. Quickly I noticed that Linux and Solaris seem to lack a -v option. Further checking on the OpenGroup website showed that POSIX date does not support options we have in date(1). Patch attached, good/bad? Perhaps "Tom, you are wasting our time?" -- Tom Rhodes %cvs diff -u date.1 Index: date.1 =================================================================== RCS file: /home/ncvs/src/bin/date/date.1,v retrieving revision 1.72 diff -u -r1.72 date.1 --- date.1 13 Feb 2005 22:25:09 -0000 1.72 +++ date.1 31 Oct 2005 17:11:53 -0000 @@ -32,7 +32,7 @@ .\" @(#)date.1 8.3 (Berkeley) 4/28/95 .\" $FreeBSD: src/bin/date/date.1,v 1.72 2005/02/13 22:25:09 ru Exp $ .\" -.Dd August 9, 2004 +.Dd October 31, 2005 .Dt DATE 1 .Os .Sh NAME @@ -419,6 +419,20 @@ .Nm utility is expected to be compatible with .St -p1003.2 . +The +.Fl d , +.Fl f , +.Fl j , +.Fl n , +.Fl r , +.Fl t , +and +.Fl v +options are all extentions to the standard. +The +.Xr sh 1 +shell understands environment variables such as +.Dl LC_TIME=C . .Sh HISTORY A .Nm From owner-freebsd-standards@FreeBSD.ORG Mon Oct 31 18:39:35 2005 Return-Path: X-Original-To: standards@freebsd.org Delivered-To: freebsd-standards@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CF4916A41F; Mon, 31 Oct 2005 18:39:35 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 426D743D4C; Mon, 31 Oct 2005 18:39:34 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from flame.pc (aris.bedc.ondsl.gr [62.103.39.226]) by kane.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id j9VIdWsg005574; Mon, 31 Oct 2005 20:39:32 +0200 Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id j9VIdWSe001637; Mon, 31 Oct 2005 20:39:32 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id j9VIdWgQ001636; Mon, 31 Oct 2005 20:39:32 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 31 Oct 2005 20:39:32 +0200 From: Giorgos Keramidas To: Tom Rhodes Message-ID: <20051031183931.GA1584@flame.pc> References: <20051031121442.5f7fdff8.trhodes@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051031121442.5f7fdff8.trhodes@FreeBSD.org> Cc: standards@freebsd.org Subject: Re: Listing FreeBSD extentions as such in utilities X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 18:39:35 -0000 On 2005-10-31 12:14, Tom Rhodes wrote: > %cvs diff -u date.1 > Index: date.1 > =================================================================== > RCS file: /home/ncvs/src/bin/date/date.1,v > retrieving revision 1.72 > diff -u -r1.72 date.1 > --- date.1 13 Feb 2005 22:25:09 -0000 1.72 > +++ date.1 31 Oct 2005 17:11:53 -0000 > [...] > +.Xr sh 1 > +shell understands environment variables such as > +.Dl LC_TIME=C . > .Sh HISTORY > A > .Nm I was under the impression that locale settings are understood by the utilities themselves too, e.g. in commands like: env LC_FOO=xxx date From owner-freebsd-standards@FreeBSD.ORG Mon Oct 31 18:45:37 2005 Return-Path: X-Original-To: standards@FreeBSD.org Delivered-To: freebsd-standards@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C73C716A41F; Mon, 31 Oct 2005 18:45:37 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from pittgoth.com (ns1.pittgoth.com [216.38.206.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id A836C43D8E; Mon, 31 Oct 2005 18:45:25 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from localhost (ip68-105-180-11.dc.dc.cox.net [68.105.180.11]) (authenticated bits=0) by pittgoth.com (8.13.4/8.13.4) with ESMTP id j9VIv2oE002850 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 31 Oct 2005 13:57:03 -0500 (EST) (envelope-from trhodes@FreeBSD.org) Date: Mon, 31 Oct 2005 13:45:09 -0500 From: Tom Rhodes To: Giorgos Keramidas Message-Id: <20051031134509.73764fc5.trhodes@FreeBSD.org> In-Reply-To: <20051031183931.GA1584@flame.pc> References: <20051031121442.5f7fdff8.trhodes@FreeBSD.org> <20051031183931.GA1584@flame.pc> X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: trhodes@FreeBSD.org, standards@FreeBSD.org Subject: Re: Listing FreeBSD extentions as such in utilities X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 18:45:37 -0000 On Mon, 31 Oct 2005 20:39:32 +0200 Giorgos Keramidas wrote: > On 2005-10-31 12:14, Tom Rhodes wrote: > > %cvs diff -u date.1 > > Index: date.1 > > =================================================================== > > RCS file: /home/ncvs/src/bin/date/date.1,v > > retrieving revision 1.72 > > diff -u -r1.72 date.1 > > --- date.1 13 Feb 2005 22:25:09 -0000 1.72 > > +++ date.1 31 Oct 2005 17:11:53 -0000 > > [...] > > +.Xr sh 1 > > +shell understands environment variables such as > > +.Dl LC_TIME=C . > > .Sh HISTORY > > A > > .Nm > > I was under the impression that locale settings are understood by the > utilities themselves too, e.g. in commands like: > > env LC_FOO=xxx date That works too. I was just attempting to illustrate a point, without bloating the manual page. Guess I could add "date" at the end there. :) -- Tom Rhodes From owner-freebsd-standards@FreeBSD.ORG Mon Oct 31 19:07:32 2005 Return-Path: X-Original-To: standards@FreeBSD.org Delivered-To: freebsd-standards@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26BD916A41F; Mon, 31 Oct 2005 19:07:32 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CADE43D48; Mon, 31 Oct 2005 19:07:30 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from flame.pc (aris.bedc.ondsl.gr [62.103.39.226]) by aiolos.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id j9VJ7Tuf027375; Mon, 31 Oct 2005 21:07:29 +0200 Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id j9VJ7TLM001845; Mon, 31 Oct 2005 21:07:29 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id j9VJ7SrF001844; Mon, 31 Oct 2005 21:07:28 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 31 Oct 2005 21:07:28 +0200 From: Giorgos Keramidas To: Tom Rhodes Message-ID: <20051031190728.GA1832@flame.pc> References: <20051031121442.5f7fdff8.trhodes@FreeBSD.org> <20051031183931.GA1584@flame.pc> <20051031134509.73764fc5.trhodes@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051031134509.73764fc5.trhodes@FreeBSD.org> Cc: standards@FreeBSD.org Subject: Re: Listing FreeBSD extentions as such in utilities X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 19:07:32 -0000 On 2005-10-31 13:45, Tom Rhodes wrote: > On Mon, 31 Oct 2005 20:39:32 +0200 > Giorgos Keramidas wrote: > > > On 2005-10-31 12:14, Tom Rhodes wrote: > > > %cvs diff -u date.1 > > > Index: date.1 > > > =================================================================== > > > RCS file: /home/ncvs/src/bin/date/date.1,v > > > retrieving revision 1.72 > > > diff -u -r1.72 date.1 > > > --- date.1 13 Feb 2005 22:25:09 -0000 1.72 > > > +++ date.1 31 Oct 2005 17:11:53 -0000 > > > [...] > > > +.Xr sh 1 > > > +shell understands environment variables such as > > > +.Dl LC_TIME=C . > > > .Sh HISTORY > > > A > > > .Nm > > > > I was under the impression that locale settings are understood by the > > utilities themselves too, e.g. in commands like: > > > > env LC_FOO=xxx date > > That works too. I was just attempting to illustrate a point, > without bloating the manual page. Guess I could add > "date" at the end there. :) You don't need to add anything about the LC_XXX variables, in my opinion. This is not something that is date(1)-specific and certainly not against the standards. From owner-freebsd-standards@FreeBSD.ORG Mon Oct 31 19:21:55 2005 Return-Path: X-Original-To: standards@FreeBSD.org Delivered-To: freebsd-standards@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E99B16A41F; Mon, 31 Oct 2005 19:21:55 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from pittgoth.com (ns1.pittgoth.com [216.38.206.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id B374843D45; Mon, 31 Oct 2005 19:21:54 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from localhost (ip68-105-180-11.dc.dc.cox.net [68.105.180.11]) (authenticated bits=0) by pittgoth.com (8.13.4/8.13.4) with ESMTP id j9VJXbMe003004 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 31 Oct 2005 14:33:37 -0500 (EST) (envelope-from trhodes@FreeBSD.org) Date: Mon, 31 Oct 2005 14:21:43 -0500 From: Tom Rhodes To: Giorgos Keramidas Message-Id: <20051031142143.6e26f790.trhodes@FreeBSD.org> In-Reply-To: <20051031190728.GA1832@flame.pc> References: <20051031121442.5f7fdff8.trhodes@FreeBSD.org> <20051031183931.GA1584@flame.pc> <20051031134509.73764fc5.trhodes@FreeBSD.org> <20051031190728.GA1832@flame.pc> X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: trhodes@FreeBSD.org, standards@FreeBSD.org Subject: Re: Listing FreeBSD extentions as such in utilities X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 19:21:55 -0000 On Mon, 31 Oct 2005 21:07:28 +0200 Giorgos Keramidas wrote: > On 2005-10-31 13:45, Tom Rhodes wrote: > > On Mon, 31 Oct 2005 20:39:32 +0200 > > Giorgos Keramidas wrote: > > > > > On 2005-10-31 12:14, Tom Rhodes wrote: > > > > %cvs diff -u date.1 > > > > Index: date.1 > > > > =================================================================== > > > > RCS file: /home/ncvs/src/bin/date/date.1,v > > > > retrieving revision 1.72 > > > > diff -u -r1.72 date.1 > > > > --- date.1 13 Feb 2005 22:25:09 -0000 1.72 > > > > +++ date.1 31 Oct 2005 17:11:53 -0000 > > > > [...] > > > > +.Xr sh 1 > > > > +shell understands environment variables such as > > > > +.Dl LC_TIME=C . > > > > .Sh HISTORY > > > > A > > > > .Nm > > > > > > I was under the impression that locale settings are understood by the > > > utilities themselves too, e.g. in commands like: > > > > > > env LC_FOO=xxx date > > > > That works too. I was just attempting to illustrate a point, > > without bloating the manual page. Guess I could add > > "date" at the end there. :) > > You don't need to add anything about the LC_XXX variables, in my > opinion. This is not something that is date(1)-specific and certainly > not against the standards. I'm not 100% fluent in POSIX, so ... . Anyway, I also have no clue where the various environment variables are documented. Not in locale(1), that's for sure. And they seem to be in every manual page that [ab]uses them on the OpenGroup site. It's cool, I just figured a quickie mention would be good, but perhaps they should be in locale(1). Removed in my local patch. -- Tom Rhodes From owner-freebsd-standards@FreeBSD.ORG Mon Oct 31 19:24:05 2005 Return-Path: X-Original-To: standards@FreeBSD.org Delivered-To: freebsd-standards@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1802616A41F; Mon, 31 Oct 2005 19:24:05 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from pittgoth.com (ns1.pittgoth.com [216.38.206.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEBCC43D48; Mon, 31 Oct 2005 19:24:04 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from localhost (ip68-105-180-11.dc.dc.cox.net [68.105.180.11]) (authenticated bits=0) by pittgoth.com (8.13.4/8.13.4) with ESMTP id j9VJZl2K003017 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 31 Oct 2005 14:35:48 -0500 (EST) (envelope-from trhodes@FreeBSD.org) Date: Mon, 31 Oct 2005 14:23:53 -0500 From: Tom Rhodes To: Tom Rhodes Message-Id: <20051031142353.72b3a7bb.trhodes@FreeBSD.org> In-Reply-To: <20051031142143.6e26f790.trhodes@FreeBSD.org> References: <20051031121442.5f7fdff8.trhodes@FreeBSD.org> <20051031183931.GA1584@flame.pc> <20051031134509.73764fc5.trhodes@FreeBSD.org> <20051031190728.GA1832@flame.pc> <20051031142143.6e26f790.trhodes@FreeBSD.org> X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: keramida@ceid.upatras.gr, standards@FreeBSD.org Subject: Re: Listing FreeBSD extentions as such in utilities X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 19:24:05 -0000 On Mon, 31 Oct 2005 14:21:43 -0500 Tom Rhodes wrote: > On Mon, 31 Oct 2005 21:07:28 +0200 > Giorgos Keramidas wrote: > > > On 2005-10-31 13:45, Tom Rhodes wrote: > > > On Mon, 31 Oct 2005 20:39:32 +0200 > > > Giorgos Keramidas wrote: > > > > > > > On 2005-10-31 12:14, Tom Rhodes wrote: > > > > > %cvs diff -u date.1 > > > > > Index: date.1 > > > > > =================================================================== > > > > > RCS file: /home/ncvs/src/bin/date/date.1,v > > > > > retrieving revision 1.72 > > > > > diff -u -r1.72 date.1 > > > > > --- date.1 13 Feb 2005 22:25:09 -0000 1.72 > > > > > +++ date.1 31 Oct 2005 17:11:53 -0000 > > > > > [...] > > > > > +.Xr sh 1 > > > > > +shell understands environment variables such as > > > > > +.Dl LC_TIME=C . > > > > > .Sh HISTORY > > > > > A > > > > > .Nm > > > > > > > > I was under the impression that locale settings are understood by the > > > > utilities themselves too, e.g. in commands like: > > > > > > > > env LC_FOO=xxx date > > > > > > That works too. I was just attempting to illustrate a point, > > > without bloating the manual page. Guess I could add > > > "date" at the end there. :) > > > > You don't need to add anything about the LC_XXX variables, in my > > opinion. This is not something that is date(1)-specific and certainly > > not against the standards. > > I'm not 100% fluent in POSIX, so ... . > > Anyway, I also have no clue where the various environment > variables are documented. Not in locale(1), that's for sure. > And they seem to be in every manual page that [ab]uses them > on the OpenGroup site. It's cool, I just figured a quickie > mention would be good, but perhaps they should be in locale(1). Nevermind, man -k doesn't like me. They're in setlocale. > > Removed in my local patch. > > -- > Tom Rhodes > -- Tom Rhodes From owner-freebsd-standards@FreeBSD.ORG Mon Oct 31 19:29:32 2005 Return-Path: X-Original-To: standards@FreeBSD.org Delivered-To: freebsd-standards@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF0C816A41F; Mon, 31 Oct 2005 19:29:32 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EE6E43D49; Mon, 31 Oct 2005 19:29:31 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from flame.pc (aris.bedc.ondsl.gr [62.103.39.226]) by kane.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id j9VJTTLi028199; Mon, 31 Oct 2005 21:29:30 +0200 Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id j9VJTT6p002035; Mon, 31 Oct 2005 21:29:29 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id j9VJTTcu002034; Mon, 31 Oct 2005 21:29:29 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 31 Oct 2005 21:29:29 +0200 From: Giorgos Keramidas To: Tom Rhodes Message-ID: <20051031192929.GA2016@flame.pc> References: <20051031183931.GA1584@flame.pc> <20051031134509.73764fc5.trhodes@FreeBSD.org> <20051031190728.GA1832@flame.pc> <20051031142143.6e26f790.trhodes@FreeBSD.org> <20051031142353.72b3a7bb.trhodes@FreeBSD.org> <20051031121442.5f7fdff8.trhodes@FreeBSD.org> <20051031183931.GA1584@flame.pc> <20051031134509.73764fc5.trhodes@FreeBSD.org> <20051031190728.GA1832@flame.pc> <20051031142143.6e26f790.trhodes@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051031142353.72b3a7bb.trhodes@FreeBSD.org> <20051031142143.6e26f790.trhodes@FreeBSD.org> Cc: standards@FreeBSD.org Subject: Re: Listing FreeBSD extentions as such in utilities X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 19:29:33 -0000 On 2005-10-31 14:21, Tom Rhodes wrote: > > You don't need to add anything about the LC_XXX variables, in my > > opinion. This is not something that is date(1)-specific and certainly > > not against the standards. > > Anyway, I also have no clue where the various environment variables > are documented. Not in locale(1), that's for sure. And they seem to > be in every manual page that [ab]uses them on the OpenGroup site. > It's cool, I just figured a quickie mention would be good, but perhaps > they should be in locale(1). On 2005-10-31 14:23, Tom Rhodes wrote: > > Nevermind, man -k doesn't like me. They're in setlocale. Hehe! Great :) Thanks for removing the relevant bits of the patch. Other than this minor detail it's, IMHO, an absolutely fantastic idea to mention what *is* standard and what is *not*. - Giorgos From owner-freebsd-standards@FreeBSD.ORG Mon Oct 31 19:39:40 2005 Return-Path: X-Original-To: standards@FreeBSD.org Delivered-To: freebsd-standards@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FDC916A422 for ; Mon, 31 Oct 2005 19:39:40 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from pittgoth.com (ns1.pittgoth.com [216.38.206.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 979EA43D46 for ; Mon, 31 Oct 2005 19:39:37 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from localhost (ip68-105-180-11.dc.dc.cox.net [68.105.180.11]) (authenticated bits=0) by pittgoth.com (8.13.4/8.13.4) with ESMTP id j9VJpKwK003065 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 31 Oct 2005 14:51:21 -0500 (EST) (envelope-from trhodes@FreeBSD.org) Date: Mon, 31 Oct 2005 14:39:26 -0500 From: Tom Rhodes To: Giorgos Keramidas Message-Id: <20051031143926.5eaea843.trhodes@FreeBSD.org> In-Reply-To: <20051031192929.GA2016@flame.pc> References: <20051031183931.GA1584@flame.pc> <20051031134509.73764fc5.trhodes@FreeBSD.org> <20051031190728.GA1832@flame.pc> <20051031142143.6e26f790.trhodes@FreeBSD.org> <20051031142353.72b3a7bb.trhodes@FreeBSD.org> <20051031121442.5f7fdff8.trhodes@FreeBSD.org> <20051031183931.GA1584@flame.pc> <20051031134509.73764fc5.trhodes@FreeBSD.org> <20051031190728.GA1832@flame.pc> <20051031142143.6e26f790.trhodes@FreeBSD.org> <20051031192929.GA2016@flame.pc> X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: standards@FreeBSD.org Subject: Re: Listing FreeBSD extentions as such in utilities X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 19:39:40 -0000 On Mon, 31 Oct 2005 21:29:29 +0200 Giorgos Keramidas wrote: > On 2005-10-31 14:21, Tom Rhodes wrote: > > > You don't need to add anything about the LC_XXX variables, in my > > > opinion. This is not something that is date(1)-specific and certainly > > > not against the standards. > > > > Anyway, I also have no clue where the various environment variables > > are documented. Not in locale(1), that's for sure. And they seem to > > be in every manual page that [ab]uses them on the OpenGroup site. > > It's cool, I just figured a quickie mention would be good, but perhaps > > they should be in locale(1). > > On 2005-10-31 14:23, Tom Rhodes wrote: > > > > Nevermind, man -k doesn't like me. They're in setlocale. > > Hehe! Great :) > > Thanks for removing the relevant bits of the patch. Other than this > minor detail it's, IMHO, an absolutely fantastic idea to mention what > *is* standard and what is *not*. Thanks, and I also need to fix the spelling error and perhaps wait for someone else on standards to say "OK." :) -- Tom Rhodes