xref
: /
freebsd
/
bin
/
sh
/
tests
/
builtins
/
for3.0
(revision eb69d1f144a6fcc765d1b9d44a5ae8082353e70b)
Home
History
Annotate
Line#
Scopes#
Navigate#
Raw
Download
current directory
1
# $FreeBSD$
2
3
r=x
4
f() { return 42; }
5
for i in x`f`; do
6
r=$?
7
done
8
[ "$r" = 42 ]
9