2 ms·
Here's a workaround for modifying scripts while they are running; it works because function bodies are read and parsed entirely when they are defined. main()
by aidenn0 6y ago
Here's a workaround for modifying scripts while they are running; it works because function bodies are read and parsed entirely when they are defined.
main() {
script goes here
exit
}
main "$@"