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