diff --git a/test.sh b/test.sh index 99c58f2..268ca47 100755 --- a/test.sh +++ b/test.sh @@ -35,5 +35,5 @@ generatearray() { # call function that constructs the array with the array name myfunc targetvalue # display it -declare -p targetvalue +declare -p myresult