]> git.saurik.com Git - apple/shell_cmds.git/blame - sh/tests/expansion/cmdsubst12.0
shell_cmds-207.11.1.tar.gz
[apple/shell_cmds.git] / sh / tests / expansion / cmdsubst12.0
CommitLineData
deb63bfb 1# $FreeBSD: head/bin/sh/tests/expansion/cmdsubst12.0 230121 2012-01-14 23:10:18Z jilles $
71aad674
A
2
3f() {
4 echo x$(printf foo >&2)y
5}
6[ "$(f 2>&1)" = "fooxy" ]