Timeline for Is there a Bash variable containing the name of the previously executed function?
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 4 at 15:37 | history | edited | Hauke Laging | CC BY-SA 4.0 |
added 269 characters in body
|
May 4 at 5:58 | comment | added | Stéphane Chazelas |
But what if function_x calls function_y and then "fails"? Then $last_function will contain function_y even though that's function_x that failed.
|
|
May 4 at 5:52 | history | answered | Hauke Laging | CC BY-SA 4.0 |