https://bugzilla.novell.com/show_bug.cgi?id=407191 Summary: string tests in ksh do not work properly Product: openSUSE 11.0 Version: Final Platform: x86-64 OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: j.e.young@larc.nasa.gov QAContact: qa@suse.de Found By: --- How to reproduce the problem: If you run the following short test script with /bin/pdksh, it works correctly. If you run it with /bin/ksh (being a link to /lib64/ast/bin/ksh), the output is incorrect: #! /bin/ksh cmdname="job" prod="foo" [[ $cmdname = $prod[1-9][0-9]* ]] && { echo test 1 passed } cmdname="foo" [[ $cmdname = $prod[1-9][0-9]* ]] && { echo test 2 passed } cmdname="foo2007" [[ $cmdname = $prod[1-9][0-9]* ]] && { echo test 3 passed } linuxhost{username}% ./foo.ksh test 1 passed test 2 passed test 3 passed It really should be: linuxhost{username}% ./foo.ksh test 3 passed (Sorry -- this was the case under 10.3 also, but I thought you all would find it. I probably should have reported it earlier. ) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.