Re: [nft PATCH] doc: Drop incorrect requirement for nft configs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Thanks.

> ---
>  doc/nft.txt | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/doc/nft.txt b/doc/nft.txt
> index ed2157638032a..c53327e25833d 100644
> --- a/doc/nft.txt
> +++ b/doc/nft.txt
> @@ -85,8 +85,7 @@ For a full summary of options, run *nft --help*.
>  
>  *-f*::
>  *--file 'filename'*::
> -	Read input from 'filename'. If 'filename' is -, read from stdin. +
> -	nft scripts must start *#!/usr/sbin/nft -f*
> +	Read input from 'filename'. If 'filename' is -, read from stdin.
>  
>  *-i*::
>  *--interactive*::
> -- 
> 2.23.0
> 



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux