Re: [Toybox] expr "horizontal lines" in extended description?

2014-12-03 Thread Rob Landley
On 12/02/14 20:44, Isaac Dunham wrote:
> On Tue, Dec 02, 2014 at 07:24:28PM +0100, Felix Janda wrote:
>> Rob Landley wrote:
>>> Clarification received from The Austin Group.
>>>
>>> (Unfortunately the PDF he mentions costs $2500, and is thus completely
>>> irrelevant in 2014.)
>>
>> It also seems to be rendered correctly on the POSIX man page.
>>
>> https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-2013-a.tar.xz
>>
>> Felix
> 
>>From what I've read, there's (a) the Austin Group source for the documents,
> which is written in troff; they render it (apparently using some AT&T
> troff derivative) to (b) PDF and (c) HTML. They provided the troff source
> to Micheal Kerrisk, who has added appropriate notices and distributed that
> as man-pages-posix-2013.

I've been emailing them off-list. They fixed the HTML:

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/expr.html

And they also say I can login with the same credentials I set up to join
the mailing list, that's "member" enough for the purpose of viewing the
PDF. (Separately, I got pointed at a page with a workaround for the
login: https://github.com/geoff-codes/posix-standard .)

The posix guys said that if it was up to them the PDF would also be a
free download, but it's a joint copyright and the current agreement
doesn't allow it.

I'm happy the HTML is fixed. I know they say the PDF trumps it, but the
HTML version is really what we use as a standard. (URL in each command
and all...)

Rob
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net


Re: [Toybox] expr "horizontal lines" in extended description?

2014-12-02 Thread Isaac Dunham
On Tue, Dec 02, 2014 at 07:24:28PM +0100, Felix Janda wrote:
> Rob Landley wrote:
> > Clarification received from The Austin Group.
> > 
> > (Unfortunately the PDF he mentions costs $2500, and is thus completely
> > irrelevant in 2014.)
> 
> It also seems to be rendered correctly on the POSIX man page.
> 
> https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-2013-a.tar.xz
> 
> Felix

>From what I've read, there's (a) the Austin Group source for the documents,
which is written in troff; they render it (apparently using some AT&T
troff derivative) to (b) PDF and (c) HTML. They provided the troff source
to Micheal Kerrisk, who has added appropriate notices and distributed that
as man-pages-posix-2013.

Thanks,
Isaac
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net


Re: [Toybox] expr "horizontal lines" in extended description?

2014-12-02 Thread Felix Janda
Rob Landley wrote:
> Clarification received from The Austin Group.
> 
> (Unfortunately the PDF he mentions costs $2500, and is thus completely
> irrelevant in 2014.)

It also seems to be rendered correctly on the POSIX man page.

https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-2013-a.tar.xz

Felix
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net


Re: [Toybox] expr "horizontal lines" in extended description?

2014-12-01 Thread Rob Landley
Clarification received from The Austin Group.

(Unfortunately the PDF he mentions costs $2500, and is thus completely
irrelevant in 2014.)

On 12/01/14 09:46, Geoff Clare wrote:
> Rob Landley  wrote, on 29 Nov 2014:
>>
>> In http://pubs.opengroup.org/onlinepubs/9699919799/utilities/expr.html
>> the extended description says that operators of equal precedence are
>> separated by horizontal lines.
>>
>> It's an html table, all the entries are separated by horizontal lines. I
>> know that * and / are of equal precedence by poking at the gnu/dammit
>> implementation of expr, but I dunno how to tell that from the spec?
> 
> This is a limitation of the HTML translation.  In the PDF the table
> only has horizontal lines between groups of entries, as follows (just
> showing the operator, for brevity):
> 
> 
>  |
> 
>  &
> 
>  =
>  >
>  >=
>  <
>  <=
>  !=
> 
>  +
>  -
> 
>  *
>  /
>  %
> 
>  :
> 
> (expr)
> 
> integer
> string
> 
> 
> The PDF version always takes precdence over the HTML version.
> 
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net