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

2021-11-14 Thread Dale R. Worley
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; } >

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

2021-11-12 Thread Chet Ramey
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:

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

2021-11-12 Thread Alex fxmbsw7 Ratchev
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

coproc does not work with a lower case variable name

2021-11-12 Thread gd
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

coproc does not work with a lower case variable name

2021-11-12 Thread Grósz Dániel
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