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

tilde operator



I have no idea if any gurus still read this mailing list, but...

Is the following correct behavior under es?

S rittle@supra; echo <={~ x1 x*}
0
S rittle@supra; h=x*; echo <={~ x1 $h}
1
S rittle@supra; h=x1; echo <={~ x1 $h}
0

It looks like patterns may be stored in variables, but wildcard
patterns are not allowed (or working) when stored in variables.

Assuming 0.9-beta1 is still the latest publicly available es, I will
attempt to provide a patch, once I know the correct behavior.

FYI, I think all three examples should print 0.

Regards,
Loren