groff
[Top][All Lists]
Advanced

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

Re: pic/-ms inconsistency in groff 1.23.0


From: Dave Kemper
Subject: Re: pic/-ms inconsistency in groff 1.23.0
Date: Mon, 17 Jul 2023 11:20:11 -0500

On 7/17/23, Douglas McIlroy <douglas.mcilroy@dartmouth.edu> wrote:
> Upon updating from 1.22.4 to 1.23.0 this pic delimiter
>      .PS 6i
> failed; it worked in 1.22.4. The updated pic turns it into
>      .PS 6.000i 6.000i 6i

1.22.4 pic also turned it into that, so it is -ms's behavior that has changed.

$ cat pictest
.PS 6i
circle
.PE
$ pic --version
GNU pic (groff) version 1.22.4
$ pic pictest | fgrep .PS
.PS 6.000i 6.000i 6i
$

Commit b16ad66b
(http://git.savannah.gnu.org/cgit/groff.git/commit/?id=b16ad66b) seems
the likely culprit:

Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Mon Aug 15 00:24:48 2022 -0500

    [ms]: Validate `PS` arguments better.

    * tmac/s.tmac (@PS): Validate better; check for 2 arguments exactly.

    Also improve diagnostic message wording.



reply via email to

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