autoconf
[Top][All Lists]
Advanced

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

Re: AS_DIRNAME and expr


From: Paul Eggert
Subject: Re: AS_DIRNAME and expr
Date: Wed, 29 Nov 2000 04:17:28 -0800 (PST)

> From: Akim Demaille <address@hidden>
> Date: 29 Nov 2000 12:29:09 +0100
> 
> it's not clear to me whether there is a difference between the
> empty as a literal or as the result of an evaluation.

I don't see any difference in the standard's wording.  They should
be treated the same.

> could you try this on your solaris?
> 
>         expr ''

It returns the empty string on both Solaris 2.5.1 sparc
(/usr/bin/expr) and Solaris 8 sparc (both /usr/bin/expr and
/usr/xpg4/bin/expr).  For what it's worth, the standard requires this
behavior.



reply via email to

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