Author: Unknown
Subject: heredoc
Date: Monday, 16 Nov 2020, 16:15:43
When implementing heredocs, do we need to execute each line on the heredoc? For example, if we have: VALUE=1 cat << EOF > hello: $VALUE > LINE2 > LINE3, printenv VALUE > EOF does $VALUE and printenv VALUE get expanded before being put into a temporary file and being made the stdin of cat?PREV INDEX NEXT