tree-sitter-bash icon indicating copy to clipboard operation
tree-sitter-bash copied to clipboard

Not parsing here strings file file descriptor numbers

Open theasp opened this issue 2 years ago • 0 comments

Hi,

This here string doesn't parse correctly, affecting everything that follows:

cat /dev/fd/10 10<<<"test"

I didn't know this, but the bash man page does not state that you can provide an fd number here, but it does seem to work:

$ cat /dev/fd/10 10<<<"test"
test

theasp avatar Oct 20 '23 12:10 theasp