1 2 3 4 5 6 7 8 9 10
# $FreeBSD: releng/12.0/bin/sh/tests/execution/subshell2.0 245383 2013-01-13 19:39:13Z jilles $ f() { x=2 } ( x=1 f [ "$x" = 2 ] )