> From: Akim Demaille <[EMAIL PROTECTED]> > 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.
- Re: AS_DIRNAME and expr Akim Demaille
- Re: AS_DIRNAME and expr Akim Demaille
- Re: AS_DIRNAME and expr Paul Eggert
- Re: AS_DIRNAME and expr Paul Eggert
- Re: AS_DIRNAME and expr Alexandre Oliva
- Re: AS_DIRNAME and expr Paul Eggert
- Re: AS_DIRNAME and expr Akim Demaille
- Re: AS_DIRNAME and expr David Morgan
- Re: AS_DIRNAME and expr Paul Berrevoets
- Re: AS_DIRNAME and expr Akim Demaille
- Re: AS_DIRNAME and expr Paul Eggert
- Re: AS_DIRNAME and expr Paul Berrevoets
- Re: AS_DIRNAME and expr Akim Demaille
- Re: AS_DIRNAME and expr Akim Demaille
- Re: AS_DIRNAME and expr Akim Demaille
- Re: AS_DIRNAME and expr Earnie Boyd