From 69eb90429cb6a34b0840582f0bf4e9fa73c2a1ea Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 31 Jan 2019 23:40:31 -0600 Subject: [PATCH] Update test.sh --- test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test.sh b/test.sh index 1f7bc3a..2ba58fe 100755 --- a/test.sh +++ b/test.sh @@ -23,9 +23,11 @@ function myfunc() local -n myresult="$1" || return 1 myresult[0]="a" myresult[1]="b" + echo 'yes'; myresult[2]="c" myresult[3]="d" myresult[4]="e" + echo "ok" } # call function that constructs the array with the array name