Sindbad~EG File Manager

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

# $FreeBSD$

failures=0

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

s='ast*que?non' sq=\' dq=\"

# This is possibly useful but differs from other shells.
check '"$(cat <<EOF
${s+"x"}
EOF
)" = ${dq}x${dq}'

exit $((failures != 0))

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