Re: syntax error while parsing a case command within `$(...)'

2021-02-21 Thread Oğuz
21 Şubat 2021 Pazar tarihinde Chet Ramey yazdı: > On 2/21/21 3:05 PM, Oğuz wrote: > >> With the latest push to devel bash now accepts `if ! [[ ... ]] then :; >> fi' too, but not `:() ! [[ ... ]]'. Is `! [[ ... ]]' (or `time [[ ... ]]') >> a valid compound command or not? >> > > Technically not; t

Re: syntax error while parsing a case command within `$(...)'

2021-02-21 Thread Chet Ramey
On 2/21/21 3:05 PM, Oğuz wrote: With the latest push to devel bash now accepts `if ! [[ ... ]] then :; fi' too, but not `:() ! [[ ... ]]'. Is `! [[ ... ]]' (or `time [[ ... ]]') a valid compound command or not? Technically not; they're pipelines. -- ``The lyf so short, the craft so long to le

Re: syntax error while parsing a case command within `$(...)'

2021-02-21 Thread Oğuz
With the latest push to devel bash now accepts `if ! [[ ... ]] then :; fi' too, but not `:() ! [[ ... ]]'. Is `! [[ ... ]]' (or `time [[ ... ]]') a valid compound command or not? -- Oğuz