I’m puzzled by this behaviour of cat
when trying to output a heredoc containing JSON in bash 3.2:
input:
$ cat <(cat <<EOF
> {"x":[{"a":1,"b":2}]}
> EOF)
output:
{"x":["a":1]}
{"x":["b":2]}
What’s going on?
I’m puzzled by this behaviour of cat
when trying to output a heredoc containing JSON in bash 3.2:
input:
$ cat <(cat <<EOF
> {"x":[{"a":1,"b":2}]}
> EOF)
output:
{"x":["a":1]}
{"x":["b":2]}
What’s going on?