Re: Bash 3.2.25 not expanding subscript...

2008-02-12 Thread Brad Diggs
Bernd, Thank you so very much!!! I would have never figured that out on my own. I went back to the Advanced Bash Scripting Guide (by Mendel Cooper) to see if this example would make a good addition. Searching on your use of Here Strings (e.g. <<<). I found on page 326 (18.1. Here Strings) a

Re: Bash 3.2.25 not expanding subscript...

2008-02-12 Thread Bernd Eggink
Brad Diggs schrieb: In short the bug is the result of failure to expand the subscript of an array if the subscript is a variable. The following script should return a list of files with a preceding (File <#>: ). However, it does not work that way because the integer variable (${d}) used in th

Bash 3.2.25 not expanding subscript...

2008-02-11 Thread Brad Diggs
Hello, I observed today that a bash feature that used to work in version 3.00.16(1) no longer works in version 3.2.25(1). I have observed the bug on OpenSolaris snv_81 and Ubuntu 7.10 both of which run the same version 3.2.25(1). In short the bug is the result of failure to expand the subscript