I have seen people complain (based on the man page) that GNU cat doesn't
support -u, although POSIX requires it. Yeah, they could have read the
source or tested the program. It is true though that the documentation is
somewhat ambiguous. The attached patch addresses this tiny problem.

Roger

-- 
Hedonist for hire. No job too easy.
diff -ur textutils-2.0.21.org/doc/coreutils.texi textutils-2.0.21/doc/coreutils.texi
--- textutils-2.0.21.org/doc/coreutils.texi     Sun Feb 17 22:47:23 2002
+++ textutils-2.0.21/doc/coreutils.texi Fri May  3 03:06:48 2002
@@ -994,7 +994,7 @@
 
 @item -u
 @opindex -u
-Ignored; for Unix compatibility.
+Ignored; for Unix compatibility. GNU cat is always unbuffered.
 
 @item -v
 @itemx --show-nonprinting
diff -ur textutils-2.0.21.org/src/cat.c textutils-2.0.21/src/cat.c
--- textutils-2.0.21.org/src/cat.c      Sat Dec  1 18:29:26 2001
+++ textutils-2.0.21/src/cat.c  Fri May  3 03:03:17 2002
@@ -106,7 +106,7 @@
       fputs (_("\
   -t                       equivalent to -vT\n\
   -T, --show-tabs          display TAB characters as ^I\n\
-  -u                       (ignored)\n\
+  -u                       (ignored -- always unbuffered)\n\
   -v, --show-nonprinting   use ^ and M- notation, except for LFD and TAB\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);

Reply via email to