coding standards

2018-03-03 Thread don fong
admittedly this is a very minor point, but i am curious. this has to do with coding standards for bash source. consider an if statement in C (or bash, for that matter). which is form is better? Form (A): if (flag) X(); else Y(); Form (B): if (flag == 0) Y(

Re: Unset array doesn't work

2018-03-03 Thread don fong
Robert Elz: > And yet when that change to the entrenched behaviour was made, > there were no complaints? And there's no option to switch back to > the previous way? Kind of suggests just how important everyone > believes the original method was, doesn't it? doesn't the same argument apply ev

Re: Unset array doesn't work

2018-03-03 Thread Koichi Murase
Hi everyone, I'm not a member of Bash developers, but I would like to leave comments as one of Bash users. -- I don't agree with changing the default behavior that removes the placeholder of previous-context variables. The reason is just backward compatibility, but it's important. For ex