aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-misc/func5.tests
blob: 9c5f9fa48b4fb59fbfc2d468cee5d8dc5a2048ae (plain)
1
2
3
4
5
6
7
8
9
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