autoconf
[Top][All Lists]
Advanced

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

Re: AS_DIRNAME and expr


From: David Morgan
Subject: Re: AS_DIRNAME and expr
Date: Thu, 16 Nov 2000 08:11:10 -0800

> I meant that when `:' fails, it returns `0' instead of `', so it is my
> understanding of `expr' that using \| '' at the end is enough.  This
> fix is probably all we need to fix the affected expr uses.
> 
> Still, David, could you confirm that \(\) properly matches the empty
> string: running
> 
> expr 'a' : 'a\(\)'
> 
> should definitely output nothing (and most probably exit 1 :)

Yep as expected on QNX 4.2.5

expr 'a' : 'a\(\)'
> 
outputs nothing and exits 1

Regards
 David



reply via email to

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