1 # $FreeBSD: src/tools/regression/bin/sh/expansion/heredoc1.0,v 1.1 2011/06/05 12:46:26 jilles Exp $
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