../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:
However, when I run it in a ksh It fails with
Quote:
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.
I
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 |
Quote:
alex ../src/cmd/ksh93/sh/jobs.c:1110: failed assertion 'pw' Abort aik.RiMRAo |
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.
I