1 # $FreeBSD: head/bin/sh/tests/expansion/heredoc1.0 222715 2011-06-05 12:46:26Z jilles $
5 [ `f 42; { cat; } <<EOF
8 ` = 42 ] || echo compound command bad
13 ` = 42 ] || echo subshell bad
15 long=`printf %08192d 0`
17 [ `f 42; { cat; } <<EOF
20 ` = $long.42 ] || echo long compound command bad
25 ` = $long.42 ] || echo long subshell bad