tekinfarmland
Technical User
I am using ksh on a SunOS machine. I cannot figure out why I am receiving this "if" error.
SYTIME="10:30"
if [ -n "$QETIME" ]; then
JEND=$SYTIME
fi
echo QETIME:$QETIME
echo JEND:$JEND
SYTIME="10:30"
if [ -n "$QETIME" ]; then
JEND=$SYTIME
fi
echo QETIME:$QETIME
echo JEND:$JEND