]> git.saurik.com Git - apple/shell_cmds.git/blame - sh/tests/expansion/heredoc2.0
shell_cmds-207.11.1.tar.gz
[apple/shell_cmds.git] / sh / tests / expansion / heredoc2.0
CommitLineData
deb63bfb 1# $FreeBSD: head/bin/sh/tests/expansion/heredoc2.0 222716 2011-06-05 14:13:15Z jilles $
71aad674
A
2
3f() { return $1; }
4
5[ `f 42; cat <<EOF
6$?
7EOF
8` = 42 ] || echo simple command bad
9
10long=`printf %08192d 0`
11
12[ `f 42; cat <<EOF
13$long.$?
14EOF
15` = $long.42 ] || echo long simple command bad