On 1/15/21 11:50 AM, felix wrote:
$ bash <(declare -f f |
sed '1,2d;$s/.*/echo $BASH_VERSION/;s/local /declare /;')
12
/dev/fd/63: line 4: a[1]4: syntax error in expression (error token is "4")
12
declare -ai a=([0]="0" [1]="12")
5.1.4(1)-release
It's all the same problem, a fix for which is in the devel branch.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/
