Re: Arithmetic expression: evaluation order bug

2022-12-29 Thread Alain D D Williams
On Fri, Dec 30, 2022 at 12:15:38AM +0100, Steffen Nurpmeso wrote: > Ah, wait.. > > Alain D D Williams wrote in > <20221229215700.gd16...@phcomp.co.uk>: > ... > |Anyway: back to what the shell should be doing. You cannot put a ';' \ > |into (( )) > |as a seque

Re: Arithmetic expression: evaluation order bug

2022-12-29 Thread Alain D D Williams
On Thu, Dec 29, 2022 at 10:30:09PM +0100, Steffen Nurpmeso wrote: > But then shell "operators and their precedence, associativity, > and values are the same as in the C language". There are no > sequence points. Order of evaluation is not the same as precedence/associativity. > += is right

Re: Arithmetic expression: evaluation order bug

2022-12-29 Thread Alain D D Williams
On Thu, Dec 29, 2022 at 09:09:25PM +0100, Emanuele Torre wrote: > On Thu, Dec 29, 2022 at 05:35:48PM +0000, Alain D D Williams wrote: > > On Thu, Dec 29, 2022 at 06:23:09PM +0100, Steffen Nurpmeso wrote: > > > Hello. > > > > > > Name: bash &

Re: Arithmetic expression: evaluation order bug

2022-12-29 Thread Alain D D Williams
On Thu, Dec 29, 2022 at 06:23:09PM +0100, Steffen Nurpmeso wrote: > Hello. > > Name: bash > Path: /usr/ports/core > Version: 5.2.15 > Release: 1 > > $ i=10 j=20;echo $(( i += j += i += j ));echo $i,$j > 60 > 60,50 > $ i=10 j=20;echo $(( i += j += i += i

Re: Prefer non-gender specific pronouns

2021-06-07 Thread Alain D D Williams
On Mon, Jun 07, 2021 at 08:37:53PM +0200, Dima Pasechnik wrote: > Where have you been taught to address a CS lecturer at Oxford University, > a PhD, who, age-wise, could have been your father, I suppose, with f-word? > In which well-respected madrasah did it happen, so that we know? Please lads:

Re: [PATCH] Prefer non-gender specific pronouns

2021-06-07 Thread Alain D D Williams
On Mon, Jun 07, 2021 at 06:12:07PM +0200, Léa Gris wrote: > This is what is happening here. Now they just ask for mundane changes and > will probably accept the patch. They will come again and ask for inclusive > grammar, then come again and ask for removal of anything that is even > remotely

Re: Prefer non-gender specific pronouns

2021-06-07 Thread Alain D D Williams
On Mon, Jun 07, 2021 at 12:52:08PM +0200, Dima Pasechnik wrote: > I know a number of French female academics, who would just laugh at the > latter claim. > To start with, they, married, but retained their maiden surnames, say, X, > cannot even manage to get > them addressed by official

Re: Prefer non-gender specific pronouns

2021-06-06 Thread Alain D D Williams
On Sun, Jun 06, 2021 at 05:12:21PM +0300, Oğuz wrote: > If that really is a problem that has to be addressed and not > bike-shedding, let's compromise and say "his/her" instead of "his" or > "their". Possible, but it detracts from the clarity of the sentence that it is in. > Though I don't

Re: failure to login on serial console

2021-02-03 Thread Alain D D Williams
On Wed, Feb 03, 2021 at 12:07:38PM -0500, Chet Ramey wrote: > So your shell is not running in the same process group as the terminal, > and has no access to read from its controlling terminal. Thanks ... you gave me a clue to fix this. Not ideal, but it works. if [[ -n $SHELL && -z

failure to login on serial console

2021-02-03 Thread Alain D D Williams
The problem that I have seems much the same as from Feb 2019: https://www.mail-archive.com/bug-bash@gnu.org/msg22665.html Try to login on a serial console, see the message: bash: initialize_job_control: no job control in background: Bad file descriptor This is what is running: # ps -ft tty2