[Toybox] [PATCH] really comment out tail -f

Rob Landley rob at landley.net
Sat Mar 28 16:09:04 PDT 2015


I actually left it there to annoy myself into implementing it, but I can
apply that instead so people using it don't see debris. :)

(I need to genericize netcat's central loop and use it to implement tail
-f and redo telnetd and probably several other things.)

Rob

On 03/28/2015 02:52 PM, enh wrote:
> Really comment out tail -f.
> 
> It looks like # only works if it's in column 0.
> 
> diff --git a/toys/posix/tail.c b/toys/posix/tail.c
> index 41d4633..7497f33 100644
> --- a/toys/posix/tail.c
> +++ b/toys/posix/tail.c
> @@ -17,7 +17,7 @@ config TAIL
> 
>      -n output the last NUMBER lines (default 10), +X counts from start.
>      -c output the last NUMBER bytes, +NUMBER counts from start
> -    #-f follow FILE(s), waiting for more data to be appended [TODO]
> +#   -f follow FILE(s), waiting for more data to be appended [TODO]
> 
>  config TAIL_SEEK
>    bool "tail seek support"
> _______________________________________________
> Toybox mailing list
> Toybox at lists.landley.net
> http://lists.landley.net/listinfo.cgi/toybox-landley.net
> 

 1427584144.0


More information about the Toybox mailing list