Re: [exim-dev] Script errors

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Phil Pennock
Dátum:  
Címzett: Paul Civati
CC: exim-dev
Tárgy: Re: [exim-dev] Script errors
On 2010-12-17 at 08:08 +0000, Paul Civati wrote:
> A quick look seems to point to use of '--' that was added to
> usage of expr.


The -- option is standardised by POSIX and when I look at SUSv3 for
expr(1), the use of -- is explicitly referenced. I just checked SUSv2
and the same applies there.

So this is standard. The general use of -- by commands was in POSIX by
the mid-1990s, for sure, and SUSv2 was released in 1997, so was
explicitly mandated for use in expr(1) by then.

Your options are to backport a standards-compliant expr, or find the
relevant commits and reverse the diffs.

Looks like:
http://git.exim.org/exim.git/commit/17792b53d16f2061cb7350001e81c995bac6a9eb
http://bugs.exim.org/show_bug.cgi?id=889

So, the change was made *for* FreeBSD.

-Phil