]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - bin/sh/tests/expansion/cmdsubst12.0
Sync sh(1) in stable/10 to head.
[FreeBSD/stable/10.git] / bin / sh / tests / expansion / cmdsubst12.0
1 # $FreeBSD$
2
3 f() {
4         echo x$(printf foo >&2)y
5 }
6 [ "$(f 2>&1)" = "fooxy" ]