> In RC, "cat <<EOF" seems not to work inside blocks ("{ ... }"). > Why is this so? Could this be bug or is it a feature?
from the 'bugs' section of the rc(1) man page: Functions containing here documents don't work. i believe a block is semantically equivalent to function. rather, a block could be considered an unnamed function.