Current Path : /compat/linux/proc/self/root/usr/src/tools/regression/bin/sh/expansion/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/src/tools/regression/bin/sh/expansion/heredoc2.0 |
# $FreeBSD: release/9.1.0/tools/regression/bin/sh/expansion/heredoc2.0 222716 2011-06-05 14:13:15Z jilles $ f() { return $1; } [ `f 42; cat <<EOF $? EOF ` = 42 ] || echo simple command bad long=`printf %08192d 0` [ `f 42; cat <<EOF $long.$? EOF ` = $long.42 ] || echo long simple command bad