#!/bin/execlineb -W -S 1
You're running into an unfortunate side effect of shebang lines where
only the first argument is available.


 Exactly. Shebang parsing is done by the kernel, which does not have
a complete command line parser. (If it had, the execlineb program
would be redundant: we could simply put whole argvs into the
shebang line and the kernel would launch the whole command as
execlineb does.)

 The kernel's shebang parser only understands a single argument after
the interpreter's name. To pass further options to the interpreter,
you need to squash the options into a single word. So here, what you
want can be achieved via

#!/bin/execlineb -WS1

--
 Laurent

Reply via email to