2023-01-16 19:04:07 +0000, Stephane Chazelas: [...] > Or a la ksh93 > > for ((n=1;n<=10;n++)) echo pass number $((++n)) Sorry, should have been: for ((n=1;n<=10;n++)) echo pass number $n