]> git.saurik.com Git - apple/shell_cmds.git/blame - sh/tests/expansion/cmdsubst12.0
shell_cmds-198.tar.gz
[apple/shell_cmds.git] / sh / tests / expansion / cmdsubst12.0
CommitLineData
71aad674
A
1# $FreeBSD$
2
3f() {
4 echo x$(printf foo >&2)y
5}
6[ "$(f 2>&1)" = "fooxy" ]