Say I have my.script such as#!/bin/bashblahblahand the bash interpreter accepts a --verbose argument.How do I execute my.script passing --verbose to bash?I know I can do bash --verbose my.script on the command line, but I need to be able to run my.script directly.EDIT:Ok, maybe I should have described my exact example. I'm using grunt.js build system whose cli is a script with a #! to node. Now, grunt runs plugins and one such plugin I use needs a certain flag to be enabled on node. The grunt cli script doesn't do that and I don't want to change it.
How to pass arguments to the shebang interpreter when executing a script?
shebang