This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: sources



On Tue, Feb 16, 1999 at 09:22:13AM +0000, Don Sharp wrote:
>> On Mon, Feb 15, 1999 at 05:17:39PM +0000, Don Sharp wrote:
>> >As Chris is in denial mode wrt ash I'll need to have a go at fixing the
>> >missing character problem in the pattern match. (He is right in saying
>> >that it isn't something that the Bourne shell can do anyway so what/who
>> >decides the correct behaviour is possibly a moot point).
>> 
>> Denial mode?  You want ash to handle the same substitutions as bash.  It
>> isn't going to happen.
>
>It was perhaps unkind to tweak Chris' tail, but I would expect that if
>ash accepts an expression for evaluation, (one which the Bourne /bin/sh
>won't entertain), and the expression requests the longest possible
>string up to but not including the nominated terminating character, I
>don't expect to be delivered one character short.  If the expression in
>ash has a completely different meaning than it does in bash then Chris
>is right.  However he hasn't stated that the rule for interpreting the
>expression is different in ash and bash.
>
>So either the expression evaluation is incorrect or the syntax of the
>expressions is identical and their semantics are different.  Which is
>it?

The expression evaluation is is incorrect in that it is actually parsed
by ash rather resulting in a "bad substitution" error.  In the next
net release this problem will be rectified.

cgf