> 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
- Re: AS_DIRNAME and expr Paul Eggert
- Re: AS_DIRNAME and expr David Morgan
- Re: AS_DIRNAME and expr Paul Eggert
- 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