groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] groff version numbering


From: Werner LEMBERG
Subject: Re: [Groff] groff version numbering
Date: Fri, 09 Jul 2004 08:51:19 +0200 (CEST)

> It's \n[.Y] I'm worried about.  I can't for the life of me recall
> whether official groff releases contain a revision number, or
> whether that gets stripped.

\n[.Y] is a real number register (and not string valued), so it is 0
for 1.19, 1 for 1.19.1, etc.

It's a peculiarity of troff that some number registers can return
arbitrary strings, but this isn't an invention of groff but has been
in Unix troff from the very beginning AFAIK.  I think the idea was
originally to avoid any predefined string register, possibly for
implementation reasons (since strings share the same namespace and
some code with macros and diversions).


    Werner


reply via email to

[Prev in Thread] Current Thread [Next in Thread]