[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
L A Walsh
Re: bash-5.1.8 does not compile anymore on HP-UX due to invalid shell syntax
Tue, 17 Aug 2021 07:30:45 -0700
Thunderbird 220.127.116.11 (Windows/20100228)
On 2021/08/17 04:02, Osipov, Michael (LDA IT PLM) wrote:
this is basically the same issue as I reported in readline:
The bad hunk seems not to be POSIX shell compliant.
I think your eyes are fooling you. I looked at the link below, and it
has both ":+" and "+".
The table on that page has 8 lines after the title line, right?
If you would think of the 8 lines as 4 pairs, like:
The pairs are about 4 related operations. If you let P = the oPerator
then the odd lines are about ':P'
and the even lines are about 'P' (no colon).
The Pairs from 1-4 are about the operators: '-', '=', '?', '+'
Pair 4 shows effects of ':+' and '+'.
Isn't that what you are talking about?
Yeah -- w/o the ':' looks a bit 'off', but it has a separate meaning
and has been around for a long time.
(I first encountered it when porting 1980's era scripts)