Code Select
!#/usr/bin/newlisp -s 4096 -m 100
but then I discovered that only the first of these options come into play.
Eventually I learnt that the "optional arguments" for the script interpreter are actually passed in as a single first command line argument of the whole rest of line (this is on Linux), and newlisp happily and silently(!) takes an argument of '-s 4096 -m 100' to be the same as '-s4096'. Also, it appears that the handling and delivery of optional arguments may vary across platforms, so maybe one shouldn't use them at all.
But then, how do I make the script set its limits (and other options)? Do I have to have a separate wrapper shell script for its invocation?