freebsd-skq/bin/sh/tests/builtins/eval8.7
jilles 2791f385b9 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