diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-01 23:53:05 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-01 23:53:05 +0000 |
commit | 31acf81fa092fabe5fde9b3f23d564ff2f0b02a3 (patch) | |
tree | 2f6c95939931e89548c509eddc789883f6010433 | |
parent | 2d33a9301bf506d906cc9311f058efadff501806 (diff) | |
download | coreutils-31acf81fa092fabe5fde9b3f23d564ff2f0b02a3.tar.xz |
With no operand, 'tail -f' now silently ignores the '-f'
only if standard input is a FIFO or pipe and POSIXLY_CORRECT is set.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | doc/ChangeLog | 6 |
3 files changed, 19 insertions, 0 deletions
@@ -1,3 +1,11 @@ +2006-07-01 Paul Eggert <eggert@cs.ucla.edu> + + * 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 <jim@meyering.net> * src/ln.c (do_link): Use new, shorter URL, for ag-review link. @@ -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 e253cad65..af571ed85 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,9 @@ +2006-07-01 Paul Eggert <eggert@cs.ucla.edu> + + * 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 <eggert@cs.ucla.edu> * coreutils.texi (seq invocation): seq now uses long double |