-
```
a='{a,b}' ksh -c 'echo x{a,b} y$a z$(echo {a,b})'
ya yb za zb
```
(same in pdksh and derivatives).
I see that the fact that it even does it when `braceexpand` is off has been fixed very r…
-
As of glibc commit [5d98a7da](https://sourceware.org/git/?p=glibc.git;a=commit;h=5d98a7dae955bafa6740c26eaba9c86060ae0344), ksh will fail to build if tcc is the compiler (gcc works without issues):
`…
-
Reproducer:
```
$ mkfifo f
$ echo foo > f
(press Ctrl+Z)
^Zarch/darwin.i386-64/bin/ksh: f: cannot create [Interrupted system call]
Abort
```
The shell either aborts (dev builds) or crashes w…
-
Choices:
* KornShell
* kornshell
* KornShell-Community
* kornshell-community
* kornshell.plus
* KornShell93
* kornshell93
* KornShellCommunity
* kornshellcommunity
* ksh-…
jelmd updated
2 years ago
-
When compiling with `-D_std_malloc` on OpenBSD, the following regression test fails:
```
arrays.sh[605]: setting element 1 of array to compound variable failed
```
The OpenBSD system malloc is ve…
-
I've been experiencing this crash for a while now, but haven't gotten anywhere debugging it or properly isolating the trigger of it in my kshrc. For some reason my `$PS2` prompt causes ksh to segfault…
-
Defining a [.sh.tilde.get or .sh.tilde.set discipline function](https://github.com/ksh93/ksh/commit/936a1939a8ddb1aea60317ccf687e2cc4d520229) to extend tilde expansion works well as long as the discip…
-
Compare:
```
$ unset foo
$ echo ${foo[42]=bar}
$ typeset -p foo
typeset -a foo=([0]=)
```
```
$ unset foo
$ echo ${foo[42]:=bar}
bar
$ typeset -p foo
typeset -a foo=([42]=bar)
```
Th…
-
The regression tests added in #239 freeze on OpenBSD when ksh is compiled with `-D_std_malloc` (I've reproduced this bug in a virtual machine). Reproducer:
```sh
$ bin/shtests -p readonly
# Freezes…
-
The typeset output for -L/-R/-Z seems to be wrong when the input has leading/trailing spaces. This started occurring after the dynamic buffer size changes introduced in name.c as part of the fix for
…
lijog updated
2 years ago