bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coproc does not work with a lower case variable name


From: Chet Ramey
Subject: Re: coproc does not work with a lower case variable name
Date: Fri, 12 Nov 2021 10:31:53 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.2.1

On 11/11/21 11:09 PM, gd@as.lan wrote:

Bash Version: 5.1
Patch Level: 8
Release Status: release

Description:
        coproc gives a syntax error if I try to use it with a lower case 
variable name and a compound command:
        bash: syntax error near unexpected token `}'
        bash: syntax error near unexpected token `('


Repeat-By:
        coproc bc { bc; }
        coproc bc (bc)

I can't reproduce this. What does `type bc' produce?


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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]