Newer
Older
ubixos / bin / sh / tests / parser / heredoc3.0
@Charlie Root Charlie Root on 16 Jan 2018 219 bytes BSD Shell
# $FreeBSD: releng/11.1/bin/sh/tests/parser/heredoc3.0 207824 2010-05-09 17:10:50Z jilles $

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

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