[EMAIL PROTECTED] writes:
>
> >Description:
> make check (sanity.sh) fails on several of the rcsdiff tests starting with
> rcsdiff-5
>
> The problem is due to improperly escaped $ characters in the calls to
> dotest. The following is a diff from the original sanity.sh to my
> modified version that passes all tests.
The $ is *not* improperly escaped -- $ is only special at the end of a
regular expression, not in the middle.
Which expr are you using? Did you get any messages from "make check"
noting that the default expr was deficient? Note that neither of Sun's
exprs are capable of running the test suite correctly, although they
both seem to handle this case correctly:
sunes5-> /usr/bin/expr "a\$b" : "a\$b"
3
sunes5-> /usr/xpg4/bin/expr "a\$b" : "a\$b"
3
They don't handle large patterns, however.
-Larry Jones
What better way to spend one's freedom than eating chocolate
cereal and watching cartoons! -- Calvin