Timeline for Shell script with function and parameter as Variables
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 8, 2019 at 8:46 | vote | accept | Danloc | ||
| Jan 8, 2019 at 8:50 | |||||
| Jan 21, 2018 at 19:31 | history | tweeted | twitter.com/StackUnix/status/955161040408514561 | ||
| Jan 20, 2018 at 18:17 | comment | added | Sergiy Kolodyazhnyy | Just out of curiosity, why do you store function name in a variable instead of calling function name directly ? This is kinda redundant. | |
| Jan 20, 2018 at 17:49 | answer | added | yabrasu | timeline score: 0 | |
| Jan 20, 2018 at 16:50 | history | edited | user147505 |
edited tags
|
|
| Jan 20, 2018 at 16:32 | comment | added | Hauke Laging | "When the function itself is not a variable, the script works fine." That is very hard to believe. | |
| Jan 20, 2018 at 16:30 | comment | added | Hauke Laging |
You do not need eval but if you use it then you should use it right: eval $VarFunction '"$VarName"' '"$VarLastname"' '"$VarText"'
|
|
| Jan 20, 2018 at 16:27 | answer | added | user147505 | timeline score: 4 | |
| Jan 20, 2018 at 16:23 | review | First posts | |||
| Jan 20, 2018 at 16:38 | |||||
| Jan 20, 2018 at 16:22 | history | asked | Danloc | CC BY-SA 3.0 |