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