$ bash -c ': $(case x in x) esac)' bash: -c: line 1: unexpected EOF while looking for matching `)' bash: -c: line 2: syntax error: unexpected end of file
`case x in x) esac' is a complete case command, a syntax error is unexpected here. -- Oğuz
$ bash -c ': $(case x in x) esac)' bash: -c: line 1: unexpected EOF while looking for matching `)' bash: -c: line 2: syntax error: unexpected end of file
`case x in x) esac' is a complete case command, a syntax error is unexpected here. -- Oğuz