From: Paul Eggert Date: Sat, 1 Jul 2006 23:53:05 +0000 (+0000) Subject: With no operand, 'tail -f' now silently ignores the '-f' X-Git-Tag: COREUTILS-6_0~237 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=31acf81fa092fabe5fde9b3f23d564ff2f0b02a3;p=platform%2Fupstream%2Fcoreutils.git With no operand, 'tail -f' now silently ignores the '-f' only if standard input is a FIFO or pipe and POSIXLY_CORRECT is set. --- diff --git a/ChangeLog b/ChangeLog index b3271b7..6f2f561 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2006-07-01 Paul Eggert + + * NEWS: With no operand, 'tail -f' now silently ignores the '-f' + only if standard input is a FIFO or pipe and POSIXLY_CORRECT is set. + * src/tail.c (main): Implement this. + * tests/tail/Test.pm (f-pipe-1): Renamed from f-1. + (test_vector): Set POSIXLY_CORRECT for the f-pipe-* tests. + 2006-07-01 Jim Meyering * src/ln.c (do_link): Use new, shorter URL, for ag-review link. diff --git a/NEWS b/NEWS index 8be655f..614c69f 100644 --- a/NEWS +++ b/NEWS @@ -105,6 +105,11 @@ GNU coreutils NEWS -*- outline -*- two hex digits), and the standard sequences (\a, \b, \f, \n, \r, \t, \v, \", \\). + With no operand, 'tail -f' now silently ignores the '-f' only if + standard input is a FIFO or pipe and POSIXLY_CORRECT is set. + Formerly, it ignored the '-f' when standard input was a FIFO, pipe, + or socket. + ** Scheduled for removal ptx's --copyright (-C) option is scheduled for removal in 2007, and diff --git a/doc/ChangeLog b/doc/ChangeLog index e253cad..af571ed 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,9 @@ +2006-07-01 Paul Eggert + + * coreutils.texi (tail invocation): With no operand, 'tail -f' now + silently ignores the '-f' only if standard input is a FIFO or pipe + and POSIXLY_CORRECT is set. + 2006-06-30 Paul Eggert * coreutils.texi (seq invocation): seq now uses long double