On Fri, Feb 16, 2024 at 06:57:09PM -0000, Jens Elkner wrote:
> ---schnipp---
> #!/bin/ksh93
>
> typeset -r SCRIPT=/tmp/bla
>
> function doMain {
> typeset SCRIPT=/tmp/foo
> print "SCRIPT=${SCRIPT}"
> }
>
> doMain
> print "WTF $?"
> ---schnapp---
>
> SCRIPT is within doMain() a local scope var. Since this is obviously
> wrong and ksh stops processing at this point, it is a severe issue,
> breaks a lot of scripts (at least in my case).
Could you try this with 1.0.1 or later, preferably 1.0.8. Hopefully it
should resolve your issues.
Anuradha
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1392978
Title:
ksh93 off by one
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ksh/+bug/1392978/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs