Currently the C-style for loops do not work in bash 3.2.48 while they have worked in older versions of ptxdist. It seems to be disabled due to a bug in bash-2.05b. I see no reason why not to enable it for bash version 3.2.48
Signed-off-by: Remy Bohmer <[email protected]> --- rules/bash.in | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) Index: ptxdist-1.99.svn/rules/bash.in =================================================================== --- ptxdist-1.99.svn.orig/rules/bash.in 2009-09-26 10:40:26.000000000 +0200 +++ ptxdist-1.99.svn/rules/bash.in 2009-09-26 10:55:42.000000000 +0200 @@ -40,11 +40,14 @@ config BASH_ALIASES The shell maintains a list of aliases that may be set and unset with the alias and unalias builtin commands -#config BASH_ARITHMETIC_FOR -# bool -# prompt "Enable arithmetic for command" -# depends on BASH -# help "This does currently (bash-2.05b) not work properly and is deactivated in bash.make!" +config BASH_ARITHMETIC_FOR + bool + prompt "Enable arithmetic for command" + depends on BASH + help + Include support for the alternate form of the for command that + behaves like the C language for statement. + This does not work properly in bash-2.05b! config BASH_ARRAY bool -- -- ptxdist mailing list [email protected]
