Article 5RFH1 ../src/cmd/ksh93/sh/jobs.c:1110: failed assertion 'pw'

../src/cmd/ksh93/sh/jobs.c:1110: failed assertion 'pw'

by
aikempshall
from LinuxQuestions.org on (#5RFH1)
When I run the following from the command line within bash

Code:EDIT_STRING=$(echo alex | grep "${LINE}" )
if [[ ! -z "$EDIT_STRING" ]];then
echo $EDIT_STRING
mktemp aik.XXXXXX
fi
doneI get the expected results which is

Quote:
alex
aik.HCxyWH
However, when I run it in a ksh It fails with

Quote:
alex
../src/cmd/ksh93/sh/jobs.c:1110: failed assertion 'pw'
Abort
aik.RiMRAo
This version of ksh is - Version A 2020.0.0

When I run it in a much earlier version of ksh - Version AJM 93u+ 2012-08-01 it works!

I can't spot what's wrong. Can anyone point me in the right direction to understand what I'm doing wrong.

Ilatest?d=yIl2AUoC8zA latest?i=5Ll4TOH6ms4:_UnbGAQmRL4:F7zBnMy latest?i=5Ll4TOH6ms4:_UnbGAQmRL4:V_sGLiP latest?d=qj6IDK7rITs latest?i=5Ll4TOH6ms4:_UnbGAQmRL4:gIN9vFw5Ll4TOH6ms4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments