[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash-5.1.8 does not compile anymore on HP-UX due to invalid shell sy
From: |
Greg Wooledge |
Subject: |
Re: bash-5.1.8 does not compile anymore on HP-UX due to invalid shell syntax |
Date: |
Tue, 17 Aug 2021 10:09:13 -0400 |
On Tue, Aug 17, 2021 at 04:03:17PM +0200, Osipov, Michael (LDA IT PLM) wrote:
> Am 2021-08-17 um 15:53 schrieb Greg Wooledge:
> > What version of HP-UX? What is the actual error you're getting?
>
> Latest and greatest: 11.31 v3
>
> > I only have access to certain older versions of HP-UX, but I don't
> > see what you're claiming.
> >
> > # exec /bin/sh
> > # uname -a
> > HP-UX minea B.11.11 U 9000/785 4239047153 unlimited-user license
> > # GCC=gcc
> > # echo "[${GCC+-foo}]"
> > [-foo]
> > # unset GCC
> > # echo "[${GCC+-foo}]"
> > []
> > #
> This is *not* the same as in the configure script. It does not unset the
> variable, but sets to empty.
# exec /bin/sh
# uname -a
HP-UX minea B.11.11 U 9000/785 4239047153 unlimited-user license
# GCC=gcc
# echo "[${GCC+-foo}]"
[-foo]
# unset GCC
# echo "[${GCC+-foo}]"
[]
# GCC=
# echo "[${GCC+-foo}]"
[-foo]
#
What error are you seeing?