Listing FreeBSD extentions as such in utilities
Tom Rhodes
trhodes at FreeBSD.org
Mon Oct 31 11:21:55 PST 2005
On Mon, 31 Oct 2005 21:07:28 +0200
Giorgos Keramidas <keramida at ceid.upatras.gr> wrote:
> On 2005-10-31 13:45, Tom Rhodes <trhodes at FreeBSD.org> wrote:
> > On Mon, 31 Oct 2005 20:39:32 +0200
> > Giorgos Keramidas <keramida at ceid.upatras.gr> wrote:
> >
> > > On 2005-10-31 12:14, Tom Rhodes <trhodes at freebsd.org> 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
More information about the freebsd-standards
mailing list