g...@as.lan writes:
> 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; }
>
On 11/11/21 11:09 PM, g...@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: synta
never seen, and i never coproc uppercase
i suspect your bc is a half complex alias
On Fri, Nov 12, 2021, 15:29 wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: x86_64
> OS: linux-gnu
> Compiler: gcc
> Compilation CFLAGS: -O2 -Wall -D_FORTIFY_SOURCE=2 -fstac
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong
-funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection
-Werror=return-type -flto=auto -g -D_GN
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -
funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -
Werror=return-type -flto=auto -g -D_GN