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