How to pass multiple parameters to the shebang as of today

删除回忆录丶 提交于 2020-04-11 11:53:25

问题


The last time I searched for it I concluded it's not possible, or at least not portable, so I gave up and forgot.

However, in a comment to this answer I posted, I was suggested to check env's man page, which contains the following

   -S, --split-string=S
          process and split S into separate arguments;
          used to pass multiple arguments on shebang lines

Searching for "multiple parameters" shebang only find 3 results, and none of those mentions this option.

What is state of this topic at the moment in terms of support and portability?

来源:https://stackoverflow.com/questions/60900242/how-to-pass-multiple-parameters-to-the-shebang-as-of-today

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!