Page 1 of 1

FIXED: Incorrect color in Bash text when using "here doc"

Posted: 20 May 2022 11:34
by richiezhong
When using a "here doc" in Bash type text, after the end of here doc, the color won't change back.
It's normal in Z shell.
Seems it just can not use "|" or ">" after EOF, it's normal without "|" or ">".
After more test, it turns out that no character is allowed after "EOF".
----------------------
hello world
cat <<EOF | tee /tmp/test
test test test
test test test
EOF

hello
hello world
hello world
hello.png
hello.png (4.41 KiB) Viewed 1135 times

Re: Incorrect color in Bash text when using "here doc"

Posted: 24 May 2022 12:49
by Rickard Johansson
Fixed in next release (v15.52). Thanks!