heredoc3.0   [plain text]


# $FreeBSD$

# This may be expected to work, but pretty much only ash derivatives allow it.

test "$(cat <<EOF)" = "hi there"
hi there
EOF