Timeline for How to pass an array as function argument?
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 25, 2021 at 10:26 | history | edited | Himanshu Tanwar | CC BY-SA 4.0 |
deleted 2 characters in body
|
Jan 25, 2021 at 10:20 | history | edited | Himanshu Tanwar | CC BY-SA 4.0 |
deleted 34 characters in body
|
Jan 25, 2021 at 10:14 | history | edited | Himanshu Tanwar | CC BY-SA 4.0 |
added 14 characters in body
|
Jan 25, 2021 at 10:06 | history | edited | Himanshu Tanwar | CC BY-SA 4.0 |
added 14 characters in body
|
Jan 25, 2021 at 9:59 | history | edited | Himanshu Tanwar | CC BY-SA 4.0 |
deleted 263 characters in body
|
Jan 25, 2021 at 9:48 | history | edited | Himanshu Tanwar | CC BY-SA 4.0 |
added 8 characters in body
|
Jan 25, 2021 at 9:42 | history | edited | Himanshu Tanwar | CC BY-SA 4.0 |
deleted 280 characters in body
|
Jan 25, 2021 at 9:29 | comment | added | Himanshu Tanwar | Thanks for feedback. I'll consider improvements in my further answers. I put too much unnecessary effort in explaining everything I guess. | |
Jan 12, 2021 at 18:54 | comment | added | x-yuri |
What I like about your answer is the [ "$1" = arr ] || local -n arr=$1 part. The rest... I don't think you put enough effort for it to be readable. Also, your examples lack quoting. And I doubt the rest of the ideas are practical.
|
|
Dec 17, 2020 at 7:53 | history | edited | Himanshu Tanwar | CC BY-SA 4.0 |
added 347 characters in body
|
Nov 18, 2020 at 17:04 | review | Late answers | |||
Nov 18, 2020 at 17:41 | |||||
Nov 18, 2020 at 16:45 | history | answered | Himanshu Tanwar | CC BY-SA 4.0 |