Re: FYI! - bash-5.0-alpha - on AIX 6.1 , with xlc as compiler

2018-09-19 Thread Chet Ramey
On 9/19/18 11:00 AM, Michael wrote: > "rltty.c", line 398.1: 1506-485 (S) Parameter declaration list is > incompatible with declarator for rltty_warning. > make[1]: *** [Makefile:72: rltty.o] Error 1 > make: *** [Makefile:663: lib/readline/libreadline.a] Error 1 > /opt/bin/make returned an error T

FYI! - bash-5.0-alpha - on AIX 6.1 , with xlc as compiler

2018-09-19 Thread Michael
"rltty.c", line 398.1: 1506-485 (S) Parameter declaration list is incompatible with declarator for rltty_warning. make[1]: *** [Makefile:72: rltty.o] Error 1 make: *** [Makefile:663: lib/readline/libreadline.a] Error 1 /opt/bin/make returned an error make -i compiles the rest of the files. Obvious

Re: bash 4.4.19

2018-09-19 Thread Greg Wooledge
On Wed, Sep 19, 2018 at 08:38:59AM +0300, Евгений Мёдов wrote: >for i in {1..5}; do >A A var${i}=$RANDOM >done What you want is an array. See . for i in 1 2 3 4 5; do var[i]=$RANDOM done echo "${var[1]}" declare -p var

bash 4.4.19

2018-09-19 Thread Евгений Мёдов
A Bash version 4.4.19. Assignment does not work A for i in {1..5}; do A A var${i}=$RANDOM done A bash: var1=: command not found bash: var2=: command not found bash: var3=: command not found bash: var4=: command not found bash: var5=: command not found