ast
ast copied to clipboard
AST - AT&T Software Technology
1. Tested in ksh93 and ksh88 2. On prompt type (A) 3. Your cursor is now to the right of ) 4. Type 5. Your cursor is now over the...
Issue #1459 caused me to notice that this block of code is, at best, confusing: https://github.com/att/ast/blob/1fd82bddfd36c8d381d4eb75bc1e6b2d4ccb6750/src/cmd/ksh93/edit/edit.c#L454-L464 The problem is that it is assigning to shell var `.sh.subscript` a value having...
**Description of problem:** Pressing `b` to go to beginning of command in vi mode results in crash **Ksh version:** ``` $ echo $KSH_VERSION Version A 2020.0.0 ``` (installed via Homebrew...
Since prior version is end of life, I have been looking into Amazon Linux 2 for my AWS instances. > KornShell is no longer part of the (base) distribution This...
this code ``` i=0 v=a s= while ((i < 10000)); do ((++i)) s+=$v done [[ $s == +($v) ]] ``` reliably segfaults with current ksh2020, the problem is in this...
**Description of problem:** Error during tab completion when attempting to expand ${.sh} **Ksh version:** 2020.0.0 **Steps to reproduce:** 1. print ${.sh<TAB> **Actual results:** ksh: line 1: ${!.sh$@: bad substitution **Expected...
**Description of problem:** consider a stupid micro benchmark like ` function repeatloop { nameref count=$1 integer i=0 buf=0 for ((i=0; i< $count; i++)); do ((buf++)) : done print $buf }...
**Description of problem:** ksh fails to build on Mac OS X 10.6 with clang 9 **Ksh version:** 2020.0.0 and latest master (43d1853) **How reproducible:** Always **Steps to reproduce:** 1. Build...
**Description of problem:** When a subshell forks (see #480 for discussion), EXIT traps do not work. **Ksh version:** * The "stable" release Version A 2020.0.0 * current git: 2020.0.0-beta1-190-gc6757a29 **How...
**Description of problem:** I tried out a recent commit (c99e9ff) which breaks my scripts that use "command cd" **Ksh version:** commit c99e9ff **How reproducible:** always. **Steps to reproduce:** 1. type...