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

Report issues, odd behaviors or submit a detailed bug report.
Post Reply
richiezhong
Posts: 3
Joined: 12 May 2022 04:30

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

Post 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 912 times
User avatar
Rickard Johansson
Site Admin
Posts: 6577
Joined: 19 Jul 2006 14:29

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

Post by Rickard Johansson »

Fixed in next release (v15.52). Thanks!
Post Reply