Sindbad~EG File Manager

Current Path : /usr/tests/bin/sh/parser/
Upload File :
Current File : /usr/tests/bin/sh/parser/heredoc11.0

# $FreeBSD$

failures=''

check() {
	if eval "[ $* ]"; then
		:
	else
		echo "Failed: $*"
		failures=x$failures
	fi
}

check '`cat <<EOF
foo
EOF` = foo'

check '"`cat <<EOF
foo
EOF`" = foo'

check '`eval "cat <<EOF
foo
EOF"` = foo'

test "x$failures" = x

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists