Andres Sajo wrote:

Bash Version: 3.2
Patch Level: 25
Release Status: release

Description:
        "Bad substitution error" is not "well" reported, when invoking
and array:
        VAR='([0]=first [1]=second)'
        ${VAR[0] } works, but ${ VAR[0]} dosen't


Bash correctly flags the latter as an error, and allows the former as
an extension for flexibility.

Chet


--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://cnswww.cns.cwru.edu/~chet/


Reply via email to