On Wed, Nov 06, 2019 at 09:25:57PM +0100, Pablo Neira Ayuso wrote: > On Wed, Nov 06, 2019 at 03:19:53PM +0100, Phil Sutter wrote: > > On Wed, Nov 06, 2019 at 12:47:24PM +0100, Pablo Neira Ayuso wrote: > > > On Tue, Nov 05, 2019 at 02:14:39PM +0100, Phil Sutter wrote: > > > > The shebang is not needed in files to be used with --file parameter. > > > > > > > > Signed-off-by: Phil Sutter <phil@xxxxxx> > > > > > > Right, this is actually handled as a comment right now, not as an > > > indication of what binary the user would like to use. > > > > > > It should be possible to implement the shebang for nft if you think > > > this is useful. > > > > Well, it works already? If I make a config having the shebang > > executable, I can execute it directly. It's just not needed when passed > > to 'nft -f'. And in that use-case, I don't see a point in interpreting > > it, the user already chose which binary to use by calling it. :) > > Indeed, forget this. Thanks. BTW, it would be good to remove this from the example files in the tree.