busybox/shell/hush_test/hush-misc/func5.tests

10 lines
133 B
Plaintext
Raw Normal View History

f() { echo $1; }
f 1
# hush fails on this syntax, but i've never seen anyone use it ...
#f() ( echo $1; )
f 2
#f() ( echo $1 )
f 3