xref
: /
freebsd
/
bin
/
sh
/
tests
/
expansion
/
cmdsubst12.0
(revision 4ec234c813eed05c166859bba82c882e40826eb9)
Home
History
Annotate
Line#
Scopes#
Navigate#
Raw
Download
current directory
1
# $FreeBSD$
2
3
f() {
4
echo x$(printf foo >&2)y
5
}
6
[ "$(f 2>&1)" = "fooxy" ]
7