Re: [PATCH 1/2] tailf: deprecated

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

 



On Fri, Mar 13, 2015 at 04:09:36PM +0100, Ruediger Meier wrote:
>  Documentation/deprecated.txt |  5 +++++
>  tests/expected/tailf/simple  |  1 +
>  text-utils/tailf.1           |  6 ++++++
>  text-utils/tailf.c           | 16 ++++++++++++----
>  4 files changed, 24 insertions(+), 4 deletions(-)

Boys you're so bad.. I use tailf! Well, both patches applied :-)

>  #include <stdio.h>
>  #include <stdlib.h>
>  #include <unistd.h>
> @@ -246,6 +251,9 @@ int main(int argc, char **argv)
>  	textdomain(PACKAGE);
>  	atexit(close_stdout);
>  
> +	warnx(_("warning: "
> +		"use of 'tailf' is deprecated, use 'tail -f' instead"));

moved to usage() to avoid regression in output.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux