source:
MondoRescue/branches/3.3/mindi-busybox/shell/ash_test/ash-misc/func5.tests@
3637
Last change on this file since 3637 was 3621, checked in by , 8 years ago | |
---|---|
|
|
File size: 104 bytes |
Rev | Line | |
---|---|---|
[3621] | 1 | f() { echo $1; } |
2 | f 1 | |
3 | ||
4 | f() ( echo $1; ) | |
5 | f 2 | |
6 | ||
7 | f() ( echo $1 ) | |
8 | f 3 | |
9 | ||
10 | f() for i in 1 2 3; do | |
11 | echo $i | |
12 | done | |
13 | f |
Note:
See TracBrowser
for help on using the repository browser.