In rereading the NEWS I noticed that I messed up the description of
"tail - f".  This usage doesn't conform to POSIX 1003.1-2001, so it's
not a problematic usage if we're worried only about conforming to both
standards.  However, it's still problematic in a different sense (most
people are surprised to hear that it ignores the "-" in POSIX
1003.2-1992), so I installed this patch to try to clarify the
situation a bit.

2005-09-29  Paul Eggert  <[EMAIL PROTECTED]>

        * NEWS: Clarify "tail - f" example.

--- NEWS        29 Sep 2005 17:12:16 -0000      1.316
+++ NEWS        30 Sep 2005 04:50:48 -0000      1.317
@@ -38,11 +38,14 @@ GNU coreutils NEWS                      
                       POSIX 1003.2-1992    POSIX 1003.1-2001
     sort +4           sort -k 5            sort ./+4
     tail +4           tail -n +4           tail ./+4
-    tail - main.c     tail main.c          tail -- - main.c
+    tail - f          tail f               [see (*) below]
     tail -c 4         tail -c 10 ./4       tail -c4
     touch 12312359 f  touch -t 12312359 f  touch ./12312359 f
     uniq +4           uniq -s 4            uniq ./+4
 
+    (*) "tail - f" does not conform to POSIX 1003.1-2001; to read
+    standard input and then "f", use the command "tail -- - f".
+
   These changes are in response to decisions taken in the January 2005
   Austin Group standardization meeting.  For more details, please see
   "Utility Syntax Guidelines" in the Minutes of the January 2005


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to