> On Sat, Feb 13, 2021, 21:34 Alex fxmbsw7 Ratchev <fxmb...@gmail.com> wrote:
> 
> you didnt end the case, wrong syntax
> echo $( case x in y) printf 1 ;; x) printf 2 ;; esac )

$ case x in x) esac
$ echo $?
0

> On Feb 13, 2021, at 3:36 PM, Alex fxmbsw7 Ratchev <fxmb...@gmail.com> wrote:
> 
> you have to specify something for <here>) even when its just a * wildcard

Oğuz did specify a pattern. It's the second 'x'.

vq

Reply via email to