On Mon, Apr 08, 2024 at 12:40:55PM +0700, Robert Elz wrote: > or perhaps better just: > > main() { ... } ; main "$@"
You'd want to add an "exit" as well, to protect against new lines of code being appended to the script.
On Mon, Apr 08, 2024 at 12:40:55PM +0700, Robert Elz wrote: > or perhaps better just: > > main() { ... } ; main "$@"
You'd want to add an "exit" as well, to protect against new lines of code being appended to the script.