>> >> +The old format \fB$[\fP\fIexpression\fP\fB]\fP is deprecated and will >> +be removed in upcoming versions of bash. >>
>That's not true though, both bash and zsh still support it and neither >party plan to remove it. It's better left undocumented. I disagree that it should be left undocumented. It is annoying to see a construct used in code (that one is unfamiliar with) and then to look it up in "man bash" and not find it. I think it (*) should be in the docu, but with a notation of "deprecated; could be removed in a future version". (*) And by "it", I mean in the general case; not just this instance. There was a big discussion here a week or so ago about some other feature that was intentionally left undocumented. ================================================================================= Please do not send me replies to my posts on the list. I always read the replies via the web archive, so CC'ing to me is unnecessary. When responding to my posts, please try to refrain from giving bureaucratic answers. If you have nothing useful to say, then just click Next and go on.
