freebsd-nq/bin/sh/tests/builtins/eval8.7
Jilles Tjoelker 75e1716807 sh: Fix break/continue/return in multiline eval.
Example:
  eval $'return\necho bad'
2014-10-12 13:12:06 +00:00

8 lines
50 B
Groff

# $FreeBSD$
f() {
eval "return 7
echo bad2"
}
f