busybox/shell/ash_test/ash-misc/func5.tests
Denys Vlasenko fbf44854a3 hush: support "f() (cmd)" functions
Many other shells support this construct

function                                             old     new   delta
parse_stream                                        2950    3018     +68

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-04-03 14:56:52 +02:00

9 lines
64 B
Plaintext
Executable File

f() { echo $1; }
f 1
f() ( echo $1; )
f 2
f() ( echo $1 )
f 3