cmdsubst12.0
[
plain text
]
# $FreeBSD$ f() { echo x$(printf foo >&2)y } [ "$(f 2>&1)" = "fooxy" ]