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

Rob Landley rob at landley.net
Mon Dec 1 15:15:35 PST 2014


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 <rob at landley.net> 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.
> 


More information about the Toybox mailing list