If this is a ksh bug, what ksh version should I upgrade to?

On:
     OS: Red Hat Enterprise Linux Server release 6.1 (Santiago) 
     ksh: version sh (AT&T Research) 93t+ 2010-06-21 

Elapsed time less than 2 tenths of a second:

$ time -f ‘%E\n' ksh -e '[[ A__BBBBBBBB_CCCCC_Z_EEEE__F == 
*@(__+(+([A-Z0-9])?(_))__)* ]]' 
0:00.14 

However, if that string is extended by adding, say, seven more "Z"s, then the 
elapsed mushrooms to almost 10 seconds. 

$ time -f '%E\n' ksh -e '[[ A__BBBBBBBB_CCCCC_ZZZZZZZZ_EEEE__F == 
*@(__+(+([A-Z0-9])?(_))__)* ]]' 
0:09.96 

This appears to be a ksh bug (a memory leak?), what ksh version must I upgrade 
to to get past it?

Please let me know if I should provide further information.

Thanks,
Dan
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to