On 10/20/23 5:41 AM, Etienne Lorrain via Bug reports for the GNU Bourne Again SHell wrote:


etienne@etienne-7950x:~$ echo ${​​​​​​​HOME}​​​​​​​:/home/${​​​​​​​USER}​​​​​​​
bash: ${​​​​​​​HOME}​​​​​​​:/home/${​​​​​​​USER}​​​​​​​: bad substitution
etienne@etienne-7950x:~$ echo ${​​​​​​​HOME}​​​​​​​
bash: ${​​​​​​​HOME}​​​​​​​: bad substitution

The most likely explanation is that those are not ASCII braces, but some
multibyte character. You might also have non-visible characters there
that can't form a valid variable name.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/


  • Simple use ... Etienne Lorrain via Bug reports for the GNU Bourne Again SHell
    • Re: Si... Chet Ramey
    • Re: Si... Kerin Millar
      • Re... Etienne Lorrain via Bug reports for the GNU Bourne Again SHell

Reply via email to