On Thu, Jan 9, 2014 at 8:00 PM, Cristian Ionescu-Idbohrn
<[email protected]> wrote:
>
> Signed-off-by: Cristian Ionescu-Idbohrn <[email protected]>
> ---
> coreutils/Config.src | 3 ++-
> coreutils/tail.c | 8 ++++----
> 2 files changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/coreutils/Config.src b/coreutils/Config.src
> index 0c44c4b..04bc250 100644
> --- a/coreutils/Config.src
> +++ b/coreutils/Config.src
> @@ -633,12 +633,13 @@ config FEATURE_FANCY_TAIL
> default y
> depends on TAIL
> help
> - The options (-q, -s, and -v) are provided by GNU tail, but
> + The options (-q, -s, -v and -F) are provided by GNU tail, but
> are not specific in the SUSv3 standard.
>
> -q Never output headers giving file names
> -s SEC Wait SEC seconds between reads with -f
> -v Always output headers giving file names
> + -F same as -f, but keep retrying
>
> config TEE
> bool "tee"
> diff --git a/coreutils/tail.c b/coreutils/tail.c
> index eab502b..f27ffe2 100644
> --- a/coreutils/tail.c
> +++ b/coreutils/tail.c
> @@ -32,15 +32,14 @@
> //usage: "Print last 10 lines of each FILE (or stdin) to stdout.\n"
> //usage: "With more than one FILE, precede each with a filename
> header.\n"
> //usage: "\n -f Print data as file grows"
> -//usage: IF_FEATURE_FANCY_TAIL(
> -//usage: "\n -s SECONDS Wait SECONDS between reads with -f"
> -//usage: )
> +//usage: "\n -c [+]N[kbm] Print last N bytes"
> //usage: "\n -n N[kbm] Print last N lines"
> //usage: "\n -n +N[kbm] Start on Nth line and print the rest"
> //usage: IF_FEATURE_FANCY_TAIL(
> -//usage: "\n -c [+]N[kbm] Print last N bytes"
> //usage: "\n -q Never print headers"
> +//usage: "\n -s SECONDS Wait SECONDS between reads with -f"
> //usage: "\n -v Always print headers"
> +//usage: "\n -F same as -f, but keep retrying"
Should use the same capitalization rules as the rest:
"Same", not "same".
> //usage: "\n"
> //usage: "\nN may be suffixed by k (x1024), b (x512), or m (x1024^2)."
> //usage: )
> @@ -124,6 +123,7 @@ int tail_main(int argc, char **argv)
> IF_FEATURE_FANCY_TAIL(opt_complementary = "s+:Ff";)
> opt = getopt32(argv, "fc:n:" IF_FEATURE_FANCY_TAIL("qs:vF"),
> &str_c, &str_n IF_FEATURE_FANCY_TAIL(,&sleep_period));
> + bb_error_msg("/cii/opt=%o", opt);
??? ;)
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox