xref
: /
freebsd
/
bin
/
sh
/
tests
/
builtins
/
for2.0
(revision 7ef62cebc2f965b0f640263e179276928885e33d)
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