[Top][All Lists]

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

[groff] 07/08: PROBLEMS: Warn about gdiffmk/expr/FreeBSD problem.

From: G. Branden Robinson
Subject: [groff] 07/08: PROBLEMS: Warn about gdiffmk/expr/FreeBSD problem.
Date: Mon, 6 Mar 2023 16:22:22 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 405fe32847a598962dc3ad8469b9ed0bac4c50ba
Author: G. Branden Robinson <>
AuthorDate: Mon Mar 6 12:27:18 2023 -0600

    PROBLEMS: Warn about gdiffmk/expr/FreeBSD problem.
 PROBLEMS | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/PROBLEMS b/PROBLEMS
index 471e4a526..0aa428f09 100644
@@ -115,6 +115,20 @@ malfunction.  See 
+* gdiffmk doesn't work on FreeBSD; I get errors from "expr".
+gdiffmk uses the expr(1) command to parse its arguments.  FreeBSD has
+extended the syntax of its expr command in a non-backward compatible way
+that it claims better conforms with POSIX's utility syntax guidelines
+with respect to option processing: however, POSIX mandates no options
+for expr.  Other implementations of expr do not support traditional
+Unix-style options ('-a', '-b', ...), and perhaps as a consequence do
+not follow FreeBSD's interpretation of the guidelines.  You way want to
+set $EXPR_COMPAT in your shell environment.  We hope to have a
+workaround for this behavior in a future release.
 * My document says that the current year is 19100, not 2000.
 In groff, as in traditional troff, the yr number register yields the

reply via email to

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